/* ==== LOGIN & PASSWORD RESET PAGE STYLES ==== */

/* ==== CONTAINER ==== */
.authorize_block {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(234, 236, 239, 0.08);
    background: var(--Graphite-Gray, #1e2329);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ==== FORM CONTAINER ==== */
.authorize_data {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.authorize_data form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==== INPUT LABELS ==== */
.authorize_data label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    margin: 0;
}

/* ==== INPUT FIELDS ==== */
.authorize_data input[type="email"],
.authorize_data input[type="password"],
.authorize_data input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(234, 236, 239, 0.15);
    border-radius: 32px;
    background: var(--Night-Black, #0b0e11);
    color: var(--Silver-White, #eaecef);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
    transition: all 0.2s ease;
}

.authorize_data input[type="email"]:focus,
.authorize_data input[type="password"]:focus,
.authorize_data input[type="text"]:focus {
    border-color: #f0890b;
    background: var(--Graphite-Gray, #1e2329);
    box-shadow: 0 0 0 3px rgba(240, 137, 11, 0.1);
}

.authorize_data input::placeholder {
    color: var(--Muted-Gray, #8b949e);
}

.authorize_data input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==== HIDDEN INPUT ==== */
.authorize_data input[type="hidden"] {
    display: none;
}

/* ==== ERROR MESSAGES ==== */
.data_error {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 51, 88, 0.1);
    border: 1px solid rgba(255, 51, 88, 0.2);
    color: #ff3358;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    margin: 0;
}

/* ==== VALIDATION ERROR MESSAGES ==== */
.invalid-feedback {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 51, 88, 0.08);
    border-left: 3px solid #ff3358;
    color: #ff3358;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    margin-top: 4px;
}

.invalid-feedback strong {
    font-weight: 600;
}

/* ==== INPUT ERROR STATE ==== */
.authorize_data input.is-invalid {
    border-color: #ff3358;
    background: rgba(255, 51, 88, 0.05);
}

.authorize_data input.is-invalid:focus {
    border-color: #ff3358;
    box-shadow: 0 0 0 3px rgba(255, 51, 88, 0.1);
}

/* ==== SUBMIT BUTTON ==== */
.authorize_data input[type="submit"],
.btn_makebid.notstarted {
    width: 100%;
    padding: 10px 32px !important;
    border: none;
    border-radius: 32px;
    background: linear-gradient(90deg, #f0890b 0%, #ff3358 100%);
    color: #fff !important;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(240, 137, 11, 0.3);
}

.authorize_data input[type="submit"]:hover,
.btn_makebid.notstarted:hover {
    box-shadow: 0 8px 24px rgba(240, 137, 11, 0.5);
    transform: translateY(-2px);
}

.authorize_data input[type="submit"]:active,
.btn_makebid.notstarted:active {
    transform: translateY(0);
}

.authorize_data input[type="submit"]:disabled,
.btn_makebid.notstarted:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==== REGISTER/FORGET LINKS ==== */
.regforget_block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 20px 0 0;
    margin: 0;
    border-top: 1px solid rgba(234, 236, 239, 0.08);
}

.regforget_block a {
    color: var(--Binance-Yellow, #f0890b);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 0;
}

.regforget_block a:hover {
    color: #ff9a1f;
    text-decoration: underline;
}

.regforget_block a.register {
    font-weight: 600;
    font-size: 15px;
}

.regforget_block a.forget {
    color: var(--Muted-Gray, #8b949e);
    font-size: 13px;
}

.regforget_block a.forget:hover {
    color: var(--Silver-White, #eaecef);
}

/* ==== FORM CONTROL CLASSES (for password reset page) ==== */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(234, 236, 239, 0.15);
    border-radius: 32px;
    background: var(--Night-Black, #0b0e11);
    color: var(--Silver-White, #eaecef);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #f0890b;
    background: var(--Graphite-Gray, #1e2329);
    box-shadow: 0 0 0 3px rgba(240, 137, 11, 0.1);
}

.form-control.is-invalid {
    border-color: #ff3358;
    background: rgba(255, 51, 88, 0.05);
}

.form-control.is-invalid:focus {
    border-color: #ff3358;
    box-shadow: 0 0 0 3px rgba(255, 51, 88, 0.1);
}

/* ==== SUCCESS MESSAGE ==== */
.alert-success {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(14, 203, 129, 0.1);
    border: 1px solid rgba(14, 203, 129, 0.2);
    color: #0ecb81;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    margin-bottom: 20px;
}

/* ==== INFO MESSAGE ==== */
.alert-info {
    display: flex;
    padding: 16px;
    gap: 12px;
    border-radius: 12px;
    background: rgba(240, 137, 11, 0.1);
    border: 1px solid rgba(240, 137, 11, 0.2);
    color: var(--Silver-White, #eaecef);
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 20px;
}

.alert-info::before {
    content: "ℹ";
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(240, 137, 11, 0.2);
    color: var(--Binance-Yellow, #f0890b);
    font-weight: 700;
    font-size: 16px;
}

/* ==== RESPONSIVE STYLES ==== */

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    .authorize_block {
        padding: 32px;
        max-width: 440px;
    }
}

/* Mobile landscape and large phones (481px - 767px) */
@media (max-width: 767px) {
    .authorize_block {
        padding: 28px 24px;
        max-width: 100%;
        margin: 0;
    }

    .authorize_data {
        gap: 16px;
    }

    .authorize_data form {
        gap: 16px;
    }

    .authorize_data label {
        font-size: 12px;
        line-height: 16px;
    }

    .authorize_data input[type="email"],
    .authorize_data input[type="password"],
    .authorize_data input[type="text"],
    .form-control {
        font-size: 13px;
        line-height: 19px;
    }
}

/* Mobile portrait (320px - 480px) */
@media (max-width: 480px) {
    .authorize_block {
        padding: 24px 20px;
        margin-top: 30px;
    }

    .authorize_data {
        gap: 14px;
    }

    .authorize_data form {
        gap: 14px;
    }

    .authorize_data label {
        gap: 6px;
        font-size: 12px;
        line-height: 16px;
    }

    .authorize_data input[type="email"],
    .authorize_data input[type="password"],
    .authorize_data input[type="text"],
    .form-control {
        padding: 10px 14px;
        font-size: 13px;
        line-height: 19px;
    }

    .authorize_data input[type="submit"],
    .btn_makebid.notstarted {
        height: 44px;
        font-size: 14px;
        padding: 0 24px;
    }

    .data_error,
    .invalid-feedback,
    .alert-success,
    .alert-info {
        font-size: 12px;
        line-height: 18px;
        padding: 10px 12px;
    }

    .regforget_block {
        gap: 10px;
    }

    .regforget_block a {
        font-size: 13px;
    }

    .regforget_block a.register {
        font-size: 14px;
    }
}

/* Extra small mobile (max 360px) */
@media (max-width: 360px) {
    .authorize_block {
        padding: 20px 16px;
    }

    .authorize_data input[type="email"],
    .authorize_data input[type="password"],
    .authorize_data input[type="text"],
    .form-control {
        padding: 8px 12px;
        font-size: 12px;
        line-height: 18px;
    }

    .authorize_data input[type="submit"],
    .btn_makebid.notstarted {
        height: 40px;
        font-size: 13px;
    }
}

/* ==== ACCESSIBILITY IMPROVEMENTS ==== */
.authorize_data input:focus-visible {
    outline: 2px solid #f0890b;
    outline-offset: 2px;
}

/* ==== LOADING STATE ==== */
.authorize_data input[type="submit"].loading,
.btn_makebid.notstarted.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.authorize_data input[type="submit"].loading::after,
.btn_makebid.notstarted.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
