/* ── Login form ── */

.login-page {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.signup-form-column {
    max-width: 500px;
    width: 100%;
}

.contact-form-column {
    max-width: 640px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.signup-field-row {
    display: flex;
    gap: 12px;
}

.signup-field-row .signup-field {
    flex: 1;
    min-width: 0;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e000;
    border-radius: 6px;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    background-color: #F6F7FB;
    height: 50px;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

select.input-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
    color: #27475f;
}

select.input-field:invalid,
select.input-field.placeholder-selected {
    color: #999;
    font-style: italic;
}

select.input-field option {
    color: #27475f;
    font-style: normal;
}

textarea.input-field,
.input-textarea {
    height: auto;
    min-height: 220px;
    resize: vertical;
    line-height: 1.5;
    padding-top: 14px;
    padding-bottom: 14px;
}

.signup-field {
    position: relative;
}

.signup-field .input-field:not(.input-textarea) {
    padding-right: 44px;
}

.signup-field-row .signup-field .input-field {
    padding-right: 15px;
}

.signup-field .input-textarea {
    padding-right: 15px;
}

.signup-field .field-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999;
    pointer-events: none;
}

.login-forgot-link {
    text-align: right;
    margin-top: -4px;
}

.login-forgot-link a {
    font-size: 16px;
    color: #1a365d;
    font-weight: 500;
    text-decoration: none;
}

.login-forgot-link a:hover {
    color: #ff6600;
    text-decoration: underline;
}

.signup-submit-btn {
    width: 100%;
    max-width: 280px;
    margin: 24px auto 0;
    padding: 12px 24px;
    background-color: #c8c8c8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: background-color 0.2s;
    display: block;
}

.signup-submit-btn:hover {
    background-color: #ff6600;
}

.signup-submit-btn:active {
    background-color: #e55a00;
}

.signup-submit-btn.active {
    background-color: #ff6600;
}

.signup-error {
    color: red;
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    min-height: 20px;
}

.signup-hint {
    font-size: 13px;
    color: #666;
    line-height: 1.45;
    margin: 0 0 4px;
}

.signup-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    font-size: 14px;
    color: #555;
    line-height: 1.45;
    cursor: pointer;
}

.signup-terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #1a365d;
    cursor: pointer;
    flex-shrink: 0;
}

.signup-terms a {
    color: #1a365d;
    font-weight: 600;
    text-decoration: none;
}

.signup-terms a:hover {
    color: #ff6600;
    text-decoration: underline;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #666;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 480px) {
    .signup-field-row {
        flex-direction: column;
    }

    .signup-submit-btn {
        max-width: 100%;
    }
}

.forgot-password-hint {
    font-size: 14px;
    color: #ff6600;
    line-height: 1.45;
    margin: 0 0 10px;
    font-weight: bold;
}

/* Select2 — match contact/signup input fields */
.signup-field .select2-container {
    width: 100% !important;
}

.signup-field .select2-container--default .select2-selection--single {
    height: 50px;
    border: 2px solid transparent;
    border-radius: 6px;
    background-color: #F6F7FB;
    font-family: "Montserrat", sans-serif;
}

.signup-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 15px;
    padding-right: 40px;
    font-size: 18px;
    color: #27475f;
}

.signup-field .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
    font-style: italic;
}

.signup-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}

.signup-field .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 46px;
    margin-right: 24px;
    font-size: 18px;
    color: #999;
}

.signup-field .select2-container--default.select2-container--focus .select2-selection--single,
.signup-field .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
    outline: none;
}

.select2-container--default .select2-dropdown {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: "Montserrat", sans-serif;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #ff6600;
    outline: none;
}

.select2-container--default .select2-results__option {
    font-size: 15px;
    padding: 10px 12px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #ff6600;
}