/* Authentication Pages Styles */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--cream-bg) 0%, #fff 100%);
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.auth-header {
    padding: 40px 40px 20px;
    text-align: center;
}

.auth-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.auth-logo i {
    font-size: 36px;
    color: #fff;
}

.auth-header h1 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-body {
    padding: 20px 40px 40px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.auth-form .form-label i {
    color: var(--primary-color);
}

.auth-form .form-control {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.1);
}

.auth-form .form-select {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* Customer Type Selection */
.customer-type-select {
    display: flex;
    gap: 15px;
}

.type-option {
    flex: 1;
    position: relative;
}

.type-option input {
    position: absolute;
    opacity: 0;
}

.type-option label {
    display: block;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.type-option input:checked + label {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.type-option label i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.type-option label span {
    font-weight: 600;
    color: var(--text-color);
    display: block;
    margin-bottom: 5px;
}

.type-option label small {
    color: var(--text-muted);
    font-size: 11px;
}

/* Remember & Forgot */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.forgot-link {
    color: var(--primary-color);
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.auth-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 163, 115, 0.4);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 15px;
}

/* Footer Link */
.auth-footer {
    text-align: center;
    padding: 20px;
    background: var(--cream-bg);
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Pending Approval Message */
.pending-message {
    background: var(--warning-color);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.pending-message i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.pending-message h3 {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-header {
        padding: 30px 25px 15px;
    }
    
    .auth-body {
        padding: 15px 25px 30px;
    }
    
    .customer-type-select {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
