/* Auth Pages Styles - Consumer Coach Green Theme */

.auth-page {
    min-height: 100vh;
    background: #F0FDF4;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-left {
    background: linear-gradient(135deg, #022C22 0%, #064E3B 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.auth-brand {
    position: relative;
    z-index: 1;
}

.auth-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.auth-brand .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-brand .logo-text {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.auth-brand .logo-text .highlight {
    color: #10B981;
}

.auth-content {
    position: relative;
    z-index: 1;
}

.auth-content h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.auth-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.auth-feature i {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: white;
}

.auth-form-container {
    width: 100%;
    max-width: 450px;
}

.auth-form-container h2 {
    font-size: 32px;
    color: #022C22;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.auth-subtitle {
    color: #4B5563;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #022C22;
}

.auth-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.auth-form input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
}

.input-icon input {
    width: 100%;
    padding: 14px 18px 14px 45px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.input-icon input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: #059669;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #1F2937;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #059669;
}

.forgot-link {
    font-size: 14px;
    color: #059669;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Primary Button - Green Theme */
.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #14B8A6 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #D1D5DB;
}

.auth-divider span {
    padding: 0 15px;
    color: #6B7280;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    font-weight: 500;
    color: #1F2937;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #F0FDF4;
    border-color: #059669;
}

.btn-google i {
    color: #DB4437;
}

.btn-facebook i {
    color: #4267B2;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #4B5563;
    font-size: 14px;
}

.auth-footer a {
    color: #059669;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Plan Selection Styles */
.plan-options-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.plan-options-mini .plan-option {
    position: relative;
    cursor: pointer;
}

.plan-options-mini .plan-option input {
    display: none;
}

.plan-options-mini .plan-content {
    border: 2px solid #D1D5DB;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.plan-options-mini .plan-option.selected .plan-content,
.plan-options-mini .plan-option input:checked + .plan-content {
    border-color: #059669;
    background: #F0FDF4;
}

.plan-options-mini .plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.plan-options-mini h3 {
    font-size: 1.125rem;
    margin: 0;
    color: #022C22;
}

.plan-options-mini .plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, #059669, #14B8A6);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.6875rem;
    margin-top: 0.25rem;
}

.plan-options-mini .plan-price {
    text-align: right;
}

.plan-options-mini .plan-price .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

.plan-options-mini .plan-price .period {
    font-size: 0.75rem;
    color: #6B7280;
}

.plan-features-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-mini li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4B5563;
    padding: 0.25rem 0;
}

.plan-features-mini li i {
    color: #10B981;
    font-size: 0.75rem;
}

/* Payment Styles */
.payment-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.payment-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #6B7280;
    font-size: 0.875rem;
}

.payment-security i {
    color: #059669;
}

.step-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-back {
    margin-bottom: 1rem;
}

.btn-back {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    color: #059669;
}

.selected-plan-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #F0FDF4;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #059669;
}

.selected-plan-summary .plan-name {
    font-weight: 600;
    color: #022C22;
}

.selected-plan-summary .plan-price {
    font-weight: 700;
    color: #059669;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section h3 {
    font-size: 1rem;
    color: #022C22;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.terms-check {
    margin: 1.5rem 0;
}

.terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4B5563;
}

.terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #059669;
}

.terms-check a {
    color: #059669;
}

.payment-guarantee {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #F0FDF4;
    border-radius: 8px;
}

.payment-guarantee i {
    font-size: 1.5rem;
    color: #10B981;
}

.payment-guarantee strong {
    display: block;
    color: #022C22;
    margin-bottom: 0.25rem;
}

.payment-guarantee p {
    font-size: 0.75rem;
    color: #4B5563;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 40px 20px;
    }
    
    .auth-form .form-row,
    .auth-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .social-login {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .auth-form-container h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 24px;
    }
}

/* Auth Footer Left */
.auth-footer-left {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 30px;
}

.auth-footer-left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}