/* Shared Enterprise Auth Page Styles */
:root {
    /* Colors */
    --auth-primary: #3b82f6;
    --auth-primary-dark: #1d4ed8;
    --auth-primary-hover: #2563eb;
    --auth-primary-hover-dark: #1e40af;
    --auth-dark: #1e293b;
    --auth-dark-light: #0f172a;
    --auth-text-dark: #1e293b;
    --auth-text-muted: #64748b;
    --auth-border: #e2e8f0;
    --auth-success: #10b981;
    --auth-bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --auth-dark-gradient: linear-gradient(135deg, var(--auth-dark) 0%, var(--auth-dark-light) 100%);
    --auth-primary-gradient: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
    --auth-primary-gradient-hover: linear-gradient(135deg, var(--auth-primary-hover), var(--auth-primary-hover-dark));
    
    /* Spacing */
    --auth-padding: 3rem;
    --auth-padding-mobile: 2rem 1.5rem;
    --auth-margin-form: 1.5rem;
    --auth-margin-brand: 3rem;
    
    /* Sizes */
    --auth-form-width: 400px;
    --auth-content-width: 500px;
    --auth-icon-size: 60px;
    --auth-icon-radius: 16px;
    --auth-form-height: 3.5rem;
    --auth-border-radius: 12px;
    --auth-border-radius-large: 16px;
    
    /* Typography */
    --auth-title-size: 2.5rem;
    --auth-title-size-mobile: 2rem;
    --auth-icon-font-size: 1.8rem;
    --auth-button-font-size: 1.1rem;
    --auth-feature-font-size: 1.1rem;
    --auth-small-font-size: 0.875rem;
    
    /* Background Pattern */
    --auth-pattern: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

/* Container */
.auth-container {
    min-height: 100vh;
    background: #f8fafc;
}

/* Layout */
.auth-left {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--auth-padding);
    border-radius: var(--auth-border-radius-large) 0 0 var(--auth-border-radius-large);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.auth-right {
    background: var(--auth-dark-gradient);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--auth-padding);
    position: relative;
    overflow: hidden;
    border-radius: 0 var(--auth-border-radius-large) var(--auth-border-radius-large) 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.auth-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--auth-pattern);
    opacity: 0.3;
}

/* Brand */
.auth-brand {
    text-align: center;
    margin-bottom: var(--auth-margin-brand);
}

.auth-brand h1 {
    font-size: var(--auth-title-size);
    font-weight: 700;
    color: var(--auth-text-dark);
    margin-bottom: 0.5rem;
}

.auth-brand .brand-icon {
    width: var(--auth-icon-size);
    height: var(--auth-icon-size);
    background: var(--auth-primary-gradient);
    border-radius: var(--auth-icon-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: var(--auth-icon-font-size);
    color: white;
}

/* Form */
.auth-form {
    width: var(--auth-form-width);
    max-width: var(--auth-form-width);
    margin: 0 auto;
}

.form-floating {
    margin-bottom: var(--auth-margin-form);
}

.form-floating > .form-control {
    width: 100%;
    height: var(--auth-form-height);
    padding: 1rem 0.75rem;
    border: 2px solid var(--auth-border);
    border-radius: var(--auth-border-radius);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-floating > .form-control:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: var(--auth-text-muted);
    font-weight: 500;
}

/* Buttons */
.btn-primary-auth {
    width: 100%;
    height: var(--auth-form-height);
    background: var(--auth-primary-gradient);
    border: none;
    border-radius: var(--auth-border-radius);
    font-size: var(--auth-button-font-size);
    font-weight: 600;
    color: white;
    transition: all 0.2s ease;
    margin-bottom: var(--auth-margin-form);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-auth:hover {
    background: var(--auth-primary-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary-auth {
    width: 100%;
    height: var(--auth-form-height);
    background: white;
    border: 2px solid var(--auth-border);
    border-radius: var(--auth-border-radius);
    font-size: var(--auth-button-font-size);
    font-weight: 600;
    color: var(--auth-text-dark);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary-auth:hover {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Divider */
.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--auth-border);
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: var(--auth-text-muted);
    font-size: var(--auth-small-font-size);
    position: relative;
    z-index: 1;
}

/* Right Content */
.auth-right-content {
    position: relative;
    z-index: 1;
    max-width: var(--auth-content-width);
}

/* Lists */
.feature-list, .benefit-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li, .benefit-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: var(--auth-feature-font-size);
}

.feature-list li i, .benefit-list li i {
    margin-right: 1rem;
    color: var(--auth-success);
    font-size: 1.2rem;
}

/* Cards */
.testimonial, .pricing-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--auth-border-radius-large);
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.pricing-card {
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    font-size: var(--auth-feature-font-size);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #e2e8f0;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--auth-success);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #e2e8f0;
}

.pricing-features li i {
    color: var(--auth-success);
    margin-right: 0.5rem;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-indicator {
    text-align: center;
}

.trust-indicator .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--auth-success);
    display: block;
}

.trust-indicator .label {
    font-size: var(--auth-small-font-size);
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* Form Check */
.form-check {
    width: 100%;
    margin-bottom: var(--auth-margin-form);
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--auth-text-muted);
}

.form-check-label a {
    color: var(--auth-primary);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-left, .auth-right {
        padding: var(--auth-padding-mobile);
        border-radius: var(--auth-border-radius-large);
        margin: 1rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    }
    
    .auth-brand h1 {
        font-size: var(--auth-title-size-mobile);
    }
    
    .auth-form {
        max-width: 100%;
    }
}
