/* ===== AUTH CONTAINER ===== */
.auth-container {
    max-width: 450px;
    margin: 0px auto;
    padding: 20px;
/*    background: #171717;
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
*/
}

.auth-title {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 2em;
}

/* ===== FORM GROUPS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #9ca3af;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: #0a0a0a !important;
    color: #fff !important;
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

.form-control::placeholder {
    color: #6b7280;
}

/* ===== FORM ROW ===== */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* ===== CHECKBOX GROUP ===== */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    color: #9ca3af;
}

/* ===== BUTTONS ===== */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: #facc15;
    color: #000;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.btn-primary:hover:not(:disabled) {
    background: #fde047;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

.btn-primary:disabled {
    background: #262626;
    color: #6b7280;
    cursor: not-allowed;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: #171717;
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(250, 204, 21, 0.15);
    border-color: #facc15;
    color: #facc15;
}

.btn-secondary:disabled {
    background: #262626;
    color: #6b7280;
    cursor: not-allowed;
}

/* ===== PHONE DISPLAY ===== */
.phone-display {
    padding: 12px;
    background: #262626;
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #facc15;
    text-align: center;
}

/* ===== PHONE INPUT GROUP ===== */
.phone-input-group {
    display: flex;
    align-items: center;
}

.phone-prefix {
    margin-right: 8px;
    font-weight: 500;
}

.phone-input-flex {
    flex: 1;
}

/* ===== COUNTDOWN ===== */
.countdown-label {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 10px;
    font-style: italic;
}

/* ===== AUTH LINKS ===== */
.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #facc15;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.2s;
}

.auth-links a:hover {
    color: #fde047;
    text-decoration: underline;
}

/* ===== MESSAGES ===== */
.error-message {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #991b1b;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.success-message {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
    color: #166534;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* ===== BUTTON SPINNER ===== */
.btn-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.btn-primary .btn-spinner {
    border: 3px solid rgba(250, 204, 21, 0.3);
    border-top: 3px solid #facc15;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
/*    .auth-container {
        margin: 20px;
        padding: 20px;
    }*/

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
