.main_container {
    margin: 2rem;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    position: relative;
    min-height: calc(100vh - 5rem - 7rem - 3rem);
    display: flex;
    flex-direction: column;
}
.main_container_form {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    padding-bottom: 4rem;
}
.main_container_header {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
    text-align: center;
    margin-bottom: 1.8rem;
}
.main_container_form_group {
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.main_container_form_group_label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #334155;
}
.main_container_form_group_input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.2rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fefefe;
    transition: 0.2s;
    outline: none;
}
.main_container_form_group_input:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.custom-select-wrapper {
    position: relative;
    width: 100%;
}
.custom-select {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.2rem;
    background-color: #fefefe;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    user-select: none;
}
.custom-select:hover {
    border-color: #cbd5e1;
    background-color: #fafcff;
}
.custom-select .selected-value {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-select-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.2s;
}
.custom-select.open .custom-select-arrow::before {
    transform: translate(-50%, -50%) rotate(225deg);
}
.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}
.custom-select-dropdown.show {
    display: block;
}
.custom-select-option {
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: 0.1s;
    font-size: 0.95rem;
    color: #0f172a;
}
.custom-select-option:hover {
    background-color: #eef2ff;
}
.custom-select-option.selected {
    background-color: #4f46e5;
    color: white;
}
.main_container_continue {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
}
.main_container_continue_button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
    display: inline-block;
}
.main_container_continue_button:hover {
    background: #4338ca;
}
.main_container_continue_button:active {
    transform: scale(0.97);
}
@media (max-width: 768px) {
    .main_container {
        margin: 1rem;
        min-height: calc(100vh - 4rem - 5rem - 5.5rem);
        padding: 1.5rem;
    }
    .main_container_continue {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
    .main_container_form {
        padding-bottom: 3rem;
    }
    .main_container_header {
        font-size: 1.6rem;
        margin-bottom: 1.4rem;
    }
    .custom-select {
        padding: 0.75rem 2rem 0.75rem 1rem;
        font-size: 0.95rem;
    }
    .custom-select-option {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    .main_container_continue_button {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    .main_container_form_group:last-child {
        margin-bottom: 0.5rem;
    }
}
@media (max-width: 480px) {
    .main_container {
        margin: 0.5rem;
        min-height: calc(100vh - 4rem - 5rem - 2.3rem);
        padding: 1rem;
    }
    .main_container_form {
        padding-bottom: 2.5rem;
    }
}