/* ============================================
   CORPORATE AUTH FORMS - Login & Register
   ============================================ */

/* Auth Card */
.auth-card {
    background: var(--dark-lighter);
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

body.light-theme .auth-card {
    background: white;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.auth-card:hover {
    box-shadow: 0 15px 50px rgba(0, 188, 212, 0.15);
}

/* Auth Card Header */
.auth-card-header {
    background: linear-gradient(135deg, #00BCD4 0%, #0891B2 100%);
    padding: 32px 32px 24px;
    text-align: center;
    color: white;
}

.auth-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.auth-icon-wrapper i {
    color: white !important;
    opacity: 1 !important;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.auth-subtitle {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Auth Card Body */
.auth-card-body {
    padding: 32px;
}

/* Alert Small */
.alert-sm {
    padding: 10px 14px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Auth Form */
.auth-form {
    margin-top: 0;
}

/* Form Group */
.form-group-auth {
    margin-bottom: 18px;
}

.form-label-auth {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

body.light-theme .form-label-auth {
    color: #0F172A;
}

.form-label-auth i {
    color: var(--primary-color);
    font-size: 0.8125rem;
}

.form-label-auth .text-danger {
    color: #EF4444;
}

/* Form Control */
.form-control-auth {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-color);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

body.light-theme .form-control-auth {
    background: #F8FAFC;
    border-color: rgba(0, 0, 0, 0.1);
    color: #0F172A;
}

.form-control-auth:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
    background: var(--dark-lighter);
}

body.light-theme .form-control-auth:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-text-auth {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 6px;
    display: block;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #0891B2;
    text-decoration: underline;
}

/* Form Check */
.form-check-auth {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
}

.form-check-input-auth {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check-label-auth {
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.form-check-label-auth a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label-auth a:hover {
    text-decoration: underline;
}

/* Auth Button */
.btn-auth-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #00BCD4 0%, #0891B2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
    color: white;
}

.btn-auth-primary i {
    color: white !important;
    opacity: 1 !important;
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 188, 212, 0.2);
}

body.light-theme .auth-divider::before {
    background: rgba(0, 0, 0, 0.1);
}

.auth-divider span {
    position: relative;
    background: var(--dark-lighter);
    padding: 0 16px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

body.light-theme .auth-divider span {
    background: white;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 188, 212, 0.1);
}

body.light-theme .auth-footer {
    border-color: rgba(0, 0, 0, 0.08);
}

.auth-footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.auth-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #0891B2;
    text-decoration: underline;
}

/* Password Requirements */
.password-requirements {
    margin-top: 12px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

body.light-theme .requirement-item {
    color: #64748B;
}

.requirement-icon {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

body.light-theme .requirement-icon {
    color: #94A3B8;
}

.requirement-item.requirement-met {
    color: #10B981;
}

body.light-theme .requirement-item.requirement-met {
    color: #059669;
}

.requirement-check {
    color: #10B981 !important;
    font-size: 0.875rem;
}

body.light-theme .requirement-check {
    color: #059669 !important;
}

.requirement-item.requirement-met span {
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card-header {
        padding: 24px 20px 20px;
    }
    
    .auth-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-card-body {
        padding: 24px 20px;
    }
    
    .form-group-auth {
        margin-bottom: 16px;
    }
    
    .requirement-item {
        font-size: 0.8125rem;
    }
}

