.form-section {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.form-content {
    max-width: 384px;
    width: 100%;
    margin: 0 auto;
}

.form-input {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 8px;
    gap: 8px;

    width: 384px;
    height: 56px;

    background: #F9F9F9;

    border: none;
    border-bottom: 1px solid #808080;
    border-radius: 4px 4px 0px 0px;

    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.18px;
    color: #666666;
}

.form-input:focus {
    outline: none;
    border: 2px solid #0659FF;
    border-width: 2px;
}

.form-input::placeholder {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;

    line-height: 24px;
    letter-spacing: -0.18px;

    color: #666666;
}

.form-input label {
    margin-bottom: 0;
}

.submit-button {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 4px;
    margin-top: 15px;
    width: 384px;
    max-width: 100%;
}

.submit-button-enabled:hover {
    background: #3a0d4f;
}

.submit-button-enabled {
    color: white;
    background: #581D74;
    border: 1px solid #581D74;
    cursor: pointer;
}

.submit-button-disabled {
    color: #BEBEBE;
    background: #EFEFEF;
    border: 1px solid #EFEFEF;
}

h1, p, .form-group {
    width: 384px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.combobox {
    position: relative;
    width: 384px;
    cursor: pointer;
}

.combobox span {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #232323;
}

.combobox-input-wrapper {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.combobox-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: -0.08px;
}

.combobox-input::placeholder {
    color: #232323;
}

.combobox-toggle {
    background: transparent;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.combobox-toggle.open {
    transform: rotate(180deg);
}

.combobox-options {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
}

.combobox-options.open {
    display: block;
}

.combobox-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 4px 6px;
    gap: 8px;
}

.combobox-option .check-icon {
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    margin-right: 0;
}

.combobox-option:hover .check-icon,
.combobox-option.selected .check-icon,
.combobox-option.focused .check-icon {
    opacity: 1;
}

.combobox-option.selected .check-icon {
    opacity: 1;
}

.combobox-option span:not(.check-icon) {
    flex: 1;
}

/* Combobox Language */
.combobox-language {
    border-radius: 0;
    box-shadow: none;
    width: auto;
    font-weight: bold;
    display: inline-block;
}

.combobox-language .combobox-input-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    background: #F3EFED;
    padding: 2px 4px 2px 8px;
    border: none;
}

.combobox-language .combobox-input {
    background: transparent;
    font-weight: bold;
    font-size: 14px;
    padding: 0;
    width: 20px;
    cursor: pointer;
    outline: none;
}

.combobox-language .combobox-input:focus {
    outline: none;
    border: 2px solid #0659FF;
    border-width: 2px;
}

.combobox-language .combobox-toggle {
    padding: 0;
    margin-left: -4px;
}

.combobox-language .combobox-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
    z-index: 10;
    margin-top: 2px;
    padding: 0 0;
    width: 160px;
    margin-left: -26px;
}

.combobox-language .combobox-options.open {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0; transform: translateY(-2px);
    }

    to {
        opacity: 1; transform: translateY(0);
    }
}

.combobox-language .combobox-option {
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    margin: 0 0;
}

.combobox-language .combobox-option:hover,
.combobox-language .combobox-option.focused {
    background-color: #e0d8d5;
}

.combobox-language .combobox-option.selected {
    background: #e0d8d5;
}

/* Combobox Login */
.combobox-login {
    border-radius: 0;
    box-shadow: none;
    width: auto;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 12px;
}

.combobox-login .combobox-input-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    background: #3A0D4F;
    border: none;
}

.combobox-login .combobox-input {
    background: transparent;
    font-weight: bold;
    font-size: 14px;
    padding: 0;
    width: 150px;
    cursor: pointer;
    outline: none;
}

.combobox-login .combobox-toggle {
    padding: 0;
    margin-left: -40px;
    color: white;
}

.combobox-login .combobox-options {
    position: absolute;
    top: 100%;
    left: -20px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
    min-width: 40px;
    z-index: 10;
    margin-top: 36px;
    padding: 0 0;
    width: 180px;
}

.combobox-login .combobox-options.open {
    display: block;
    animation: fadeIn 0.15s ease-out;
    width: 180px;
}

.combobox-login .combobox-input:focus {
    outline: none;
    border: 2px solid #0659FF;
    border-width: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-2px); }
    to { opacity: 1; transform: translateY(0); }
}

.combobox-login .combobox-option {
    padding: 0;
}

.combobox-login .combobox-option span {
    cursor: pointer;
    margin: 0 0;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: -0.03px;
    color: #210003;
}

.combobox-login .combobox-option:hover,
.combobox-login .combobox-option.focused {
    background-color: var(--hover-color);
}

.combobox-login .combobox-input::placeholder {
    color: white;
}

.combobox-login .combobox-input-wrapper span {
    color: white;
    padding-right: 40px;
}

/* Custom select container */
.custom-select {
    position: relative;
    width: 100%;
}

/* Input */
.custom-select__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: -0.08px;
}

/* Dropdown icon */
.custom-select__dropdown-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: black;
    transition: transform 0.2s;
}

.custom-select__dropdown-icon svg {
    display: block;
}

.custom-select__dropdown-icon.open {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select--open .custom-select__dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Options box */
.custom-select__options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.2s ease-out;
}

.link-style {
    color: #212529;
    text-decoration: none;
    cursor: pointer;
}
.link-style:hover {
    background-color: #f6f6f8;
    cursor: pointer;
}
