/**
 * Auth Pages Styling
 * PR/PO Application - Authentication System
 */

/* Auth Body */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px;
}

/* Auth Container */
.auth-container {
    width: 100%;
    max-width: 420px;
}

/* Auth Card */
.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Auth Header */
.auth-header h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Text Accent */
.text-accent {
    color: #e94560 !important;
}

/* Glass Input Override for Auth */
.auth-card .glass-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-card .glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-card .glass-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2);
    outline: none;
}

.auth-card .glass-input.is-invalid {
    border-color: #dc3545;
}

/* Input Group Button */
.auth-card .input-group .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 16px;
    border-radius: 0 10px 10px 0;
}

.auth-card .input-group .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.auth-card .input-group .glass-input {
    border-radius: 10px 0 0 10px;
}

/* Form Labels */
.auth-card .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Form Text */
.auth-card .form-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Submit Button */
.auth-card .btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-card .btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e94560 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 69, 96, 0.3);
}

.auth-card .btn-primary:active {
    transform: translateY(0);
}

/* Alerts */
.auth-card .alert {
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
}

.auth-card .alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.auth-card .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.auth-card .alert-info {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

/* Letter Spacing for OTP */
.letter-spacing-wide {
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
}

/* Invalid Feedback */
.auth-card .invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 25px;
    }
    
    .auth-header h3 {
        font-size: 1.5rem;
    }
}
