/* Auth Page Styles */
.auth-page {
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 50%, #ecfdf5 100%);
    background-image: url('../images/bg-splash.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.navbar-minimal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    position: relative;
    z-index: 10;
}

.auth-main {
    padding: 120px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.25;
}

.auth-header p {
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.625;
}

/* Forms */
.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1f2937;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #374151;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group input:invalid {
    border-color: #ef4444;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.5;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.password-strength.weak {
    color: #ef4444;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: #10b981;
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.875rem;
}

/* Social Auth */
.social-auth {
    margin-bottom: 2rem;
}

.btn-social {
    width: 100%;
    justify-content: center;
    background: white;
    border: 2px solid #e9ecef;
    color: #333;
    font-weight: 500;
}

.btn-google:hover {
    border-color: #4285f4;
    color: #4285f4;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
}

.auth-footer p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.auth-footer a {
    color: #14b8a6;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: #14b8a6;
    text-decoration: none;
    font-size: 0.875rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Plan Selection */
.plan-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.plan-option:hover {
    border-color: #14b8a6;
    transform: translateY(-2px);
}

.plan-option.selected {
    border-color: #14b8a6;
    background: #f8f9ff;
}

.plan-option.featured {
    border-color: #14b8a6;
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #14b8a6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.plan-header {
    text-align: center;
    margin-bottom: 1rem;
}

.plan-header h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.plan-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.plan-price .period {
    color: #666;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #333;
}

.plan-features .fas.fa-check {
    color: #10b981;
    font-size: 0.75rem;
}

.select-plan {
    width: 100%;
}

/* Payment Setup */
.trial-summary {
    background: #f8f9ff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.trial-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.trial-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.trial-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.trial-note {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Payment Form */
.payment-form {
    margin-bottom: 2rem;
}

.billing-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.billing-info h4 {
    margin-bottom: 1rem;
    color: #333;
}

/* Stripe Elements */
.stripe-element {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.stripe-element.StripeElement--focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Payment Security */
.payment-security {
    text-align: center;
    margin-top: 2rem;
}

.payment-security p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.payment-security i {
    color: #10b981;
}

/* Success Page */
.success-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #10b981;
}

.next-steps {
    margin: 2rem 0;
}

.next-steps h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #14b8a6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.step-content p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Loading States */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #14b8a6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plan-selector {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        max-width: 100%;
    }
} 
