/**
 * Alphacution Registration - Frontend Styles
 */

/* Registration Wizard */
.ac-registration-wizard {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Loading State */
.ac-wizard-content {
    transition: opacity 0.3s ease;
    position: relative;
    min-height: 400px;
}

.ac-wizard-content.ac-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00a2f8;
    border-radius: 50%;
    animation: ac-spin 1s linear infinite;
    z-index: 10;
}

@keyframes ac-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ac-wizard-step {
    min-height: 400px;
}

.ac-step-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ac-step-header h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 28px;
}

.ac-step-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.ac-step-content {
    padding: 30px 0;
}

/* Intro Text */
.ac-intro-text {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    margin-bottom: 30px;
    min-height: 150px;
}

.ac-intro-text p {
    margin-bottom: 20px;
}

/* Question */
.ac-question {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Choice Buttons */
.ac-choice-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.ac-btn-choice {
    flex: 1;
    min-width: 200px;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
    background: #f8f8f8;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333 !important;
    text-decoration: none !important;
}

.ac-btn-choice:hover {
    background: #0073aa;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.2);
}

/* Gold buttons for professional check */
.ac-btn-gold {
    background: #f5c842 !important;
    border-color: #e6b82e !important;
    color: #333 !important;
}

.ac-btn-gold:hover {
    background: #e6b82e !important;
    border-color: #d7a91b !important;
    color: #333 !important;
}

/* Disabled button state */
.ac-btn-choice.disabled {
    background: #f0f0f0 !important;
    color: #999 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.6;
}

/* Active button state */
.ac-btn-choice.active {
    background: #0073aa !important;
    color: #fff !important;
    border-color: #005a87 !important;
}

/* Professional Check Section (Enterprise Tree) */
.ac-professional-check-section {
    background: #f5e6d3;
    border-radius: 8px;
    padding: 40px;
    margin: 30px 0;
    text-align: center;
}

.ac-professional-check-section .ac-question {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
}

.ac-professional-check-section .ac-choice-buttons {
    justify-content: center;
    max-width: 600px;
    margin: 30px auto;
}

/* Individual Check Section (Individual Tree) */
.ac-individual-check-section {
    background: #f5e6d3;
    border-radius: 8px;
    padding: 40px;
    margin: 30px 0;
    text-align: center;
}

.ac-individual-check-section .ac-question {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
}

.ac-individual-check-section .ac-choice-buttons {
    justify-content: center;
    max-width: 600px;
    margin: 30px auto;
}

/* Business Category Section (Enterprise Tree) */
.ac-business-category-section {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin: 30px 0;
}

.ac-category-header {
    margin-bottom: 30px;
}

.ac-category-intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.ac-category-question {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.ac-category-control {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.ac-category-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.ac-category-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
}

.ac-subsector-section {
    background: #f5e6d3;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.ac-subsector-label {
    font-size: 16px;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.ac-subsector-placeholder {
    background: #fff;
    border: 2px dashed #d4c2ad;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    color: #999;
}

/* Objectives List */
.ac-step-objectives {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
}

.ac-step-objectives .ac-step-header {
    background: #fff;
    border: none;
    border-bottom: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.ac-step-objectives .ac-step-header h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
}

.ac-step-objectives .ac-step-header p {
    display: none;
}

.ac-objectives-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.ac-btn-objective {
    width: 100%;
    padding: 20px 30px;
    text-align: left;
    font-size: 16px;
    background: #f0f0f0;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333 !important;
    text-decoration: none !important;
    display: block;
}

.ac-btn-objective:hover {
    background: #005a87;
    border-color: #004466;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 90, 135, 0.3);
}

/* Form Styles */
.ac-form {
    margin: 30px 0;
}

.ac-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ac-form-group {
    margin-bottom: 20px;
}

.ac-form-row .ac-form-group {
    flex: 1;
    margin-bottom: 0;
}

.ac-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ac-form-group input[type="text"],
.ac-form-group input[type="email"],
.ac-form-group input[type="password"],
.ac-form-group select,
.ac-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

/* Remove all blue focus outlines from form elements */
.ac-form-group input,
.ac-form-group select,
.ac-form-group textarea {
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.ac-form-group input:focus,
.ac-form-group select:focus,
.ac-form-group textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #0073aa;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Remove all browser default focus styling */
.ac-form-group input:focus,
.ac-form-group select:focus,
.ac-form-group textarea:focus,
.ac-form-group input:active,
.ac-form-group select:active,
.ac-form-group textarea:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Remove chevron/arrow styling from select elements */
.ac-form-group select {
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.ac-form-group select:focus {
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Nuclear option - remove ALL possible blue focus effects */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ac-form-group *:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}

.ac-form-checkbox label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.ac-form-checkbox input,
.ac-form-checkbox-input {
    width: auto !important;
    height: auto !important;
    margin-right: 8px !important;
    transform: scale(1.2) !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.ac-field-message {
    margin-top: 8px;
    font-size: 14px;
    color: #d63638;
}

.ac-field-message.success {
    color: #00a32a;
}

/* Note/Help Text */
.ac-note {
    padding: 20px;
    background: #f0f6fc;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    margin: 20px 0;
}

.ac-note p {
    margin: 0 0 10px 0;
}

/* Verification Page */
.ac-verification-instructions {
    margin-bottom: 30px;
}

.ac-email-sent {
    font-size: 16px;
    color: #333;
    padding: 20px;
    background: #f0f6fc;
    border-radius: 6px;
    border-left: 4px solid #00a2f8;
    margin-bottom: 20px;
}

.ac-email-sent strong {
    color: #00a2f8;
}

.ac-verification-instructions p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.ac-divider {
    margin: 30px 0 !important;
}

/* Create Password Page */
.ac-email-confirmed {
    padding: 12px 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 15px;
    color: #155724;
}

.ac-email-confirmed i {
    color: #28a745;
    margin-right: 8px;
}

.ac-password-requirements {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.ac-password-requirements p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #333;
}

.ac-password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-password-requirements li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.ac-password-requirements li i {
    margin-right: 8px;
    font-size: 12px;
}

/* Pricing */
.ac-pricing-note {
    padding: 20px;
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
    margin-bottom: 30px;
}

.ac-pricing-tier {
    margin: 30px 0;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.ac-pricing-tier h3 {
    margin: 0 0 10px 0;
    color: #0073aa;
}

.ac-pricing-configurations {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.ac-pricing-config {
    padding: 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.ac-pricing-config h4 {
    margin: 0 0 15px 0;
}

.ac-pricing-rates {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ac-btn-rate {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    text-align: center;
    background: #f8f8f8;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.ac-btn-rate:hover {
    background: #fff;
    border-color: #0073aa;
    transform: translateY(-2px);
}

.ac-btn-rate .rate-term {
    font-weight: 600;
    margin-bottom: 5px;
}

.ac-btn-rate .rate-price {
    font-size: 20px;
    font-weight: 700;
    color: #0073aa;
    margin: 10px 0;
}

.ac-btn-rate .rate-library {
    font-size: 12px;
    color: #666;
}

.ac-pricing-actions {
    margin: 30px 0;
    text-align: center;
}

/* Wizard Navigation */
.ac-wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* Welcome page - right align next button */
.ac-step-welcome .ac-wizard-nav {
    justify-content: flex-end;
}

/* Intro-7 Form Section */
.ac-intro-form-section {
    padding: 30px 0;
    margin: 30px 0;
}

.ac-intro-form-section p {
    margin: 0 0 20px 0;
}

.ac-step-intro-7 .ac-form-group textarea {
    min-height: 100px;
}

/* Featured Content Scrolling List */
.ac-featured-content-scroll {
    margin: 30px 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #f9f9f9;
    padding: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.ac-featured-content-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.ac-featured-content-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ac-featured-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
}

.ac-featured-content-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 15px 20px 15px 15px;
}

.ac-featured-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.ac-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ac-featured-title {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.ac-featured-meta {
    font-size: 12px;
    color: #666;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ac-featured-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.ac-form-actions {
    margin-top: 20px;
}

/* Buttons */
.ac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none !important;
    color: inherit;
}

.ac-btn-primary {
    background: #0073aa;
    color: #fff !important;
}

.ac-btn-primary:hover {
    background: #005a87;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.ac-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.ac-nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ac-btn-skip {
    background: #e0e0e0;
    color: #666;
    font-size: 14px;
    padding: 12px 24px;
}

.ac-btn-skip:hover {
    background: #d0d0d0;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ac-btn-secondary:hover {
    background: #e0e0e0;
}

/* Payment Page Styles */
.ac-payment-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.ac-payment-summary h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.ac-summary-details p {
    margin: 8px 0;
    color: #666;
}

.ac-stripe-container {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.ac-card-element {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fff;
}

.ac-card-errors {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 20px;
}

.ac-btn-large {
    padding: 15px 30px;
    font-size: 16px;
    width: 100%;
}

.ac-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: ac-spin 1s ease-in-out infinite;
}

.ac-payment-security {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.ac-payment-security i {
    color: #28a745;
    margin-right: 5px;
}

.ac-btn-link {
    background: none;
    color: #0073aa;
    text-decoration: underline;
    padding: 8px 16px;
}

/* Completion Page Styles */
.ac-step-complete .ac-step-header h2 {
    color: #28a745;
    font-size: 32px;
    text-align: center;
}

.ac-step-complete .ac-step-header h2 i {
    margin-right: 10px;
}

.ac-completion-message {
    text-align: center;
    padding: 30px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.ac-completion-message p {
    font-size: 18px;
    margin: 10px 0;
}

.ac-membership-summary {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.ac-membership-summary h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.ac-membership-summary h4 {
    font-size: 18px;
    color: #666;
    margin: 25px 0 15px 0;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.ac-summary-section {
    margin-bottom: 20px;
}

.ac-summary-section:first-child h4 {
    border-top: none;
    padding-top: 0;
}

.ac-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
    border-left: 3px solid #0073aa;
}

.ac-summary-row:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ac-summary-label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.ac-summary-label i {
    margin-right: 10px;
    color: #0073aa;
    width: 20px;
    text-align: center;
}

.ac-summary-value {
    color: #666;
    font-size: 16px;
}

.ac-status-badge {
    background: #28a745;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.ac-status-badge-pending {
    background: #ffc107;
    color: #000;
}

.ac-pending-message {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.ac-pending-message p {
    margin: 10px 0;
    line-height: 1.6;
}

.ac-pending-message p:first-child {
    margin-top: 0;
}

.ac-pending-message p:last-child {
    margin-bottom: 0;
}

.ac-next-steps {
    margin: 30px 0;
    padding: 25px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.ac-next-steps h4 {
    font-size: 20px;
    color: #0073aa;
    margin-bottom: 15px;
}

.ac-next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-next-steps li {
    padding: 10px 0;
    font-size: 16px;
    color: #333;
}

.ac-next-steps li i {
    color: #28a745;
    margin-right: 10px;
}

.ac-btn-large {
    font-size: 18px;
    padding: 15px 40px;
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ac-summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ac-summary-label,
    .ac-summary-value {
        width: 100%;
    }
    
    .ac-membership-summary {
        padding: 20px;
    }
    
    .ac-step-complete .ac-step-header h2 {
        font-size: 24px;
    }
}

/* Login Form */
.ac-login-wrapper {
    max-width: 500px;
    margin: 40px auto;
}

.ac-login-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Login Form Input Styles */
.ac-login-form-container input[type="text"],
.ac-login-form-container input[type="email"],
.ac-login-form-container input[type="password"] {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    transition: border-color 0.3s !important;
    background: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 48px !important;
}

.ac-login-form-container input[type="text"]:focus,
.ac-login-form-container input[type="email"]:focus,
.ac-login-form-container input[type="password"]:focus {
    outline: none !important;
    border-color: #0073aa !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2) !important;
}

.ac-login-form-container input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px !important;
    transform: scale(1.2) !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Login form input styles */
.ac-login-form-container input,
.ac-form-input,
.ac-login-form-container input[type="text"],
.ac-login-form-container input[type="password"] {
    background: #fff !important;
    border: 2px solid #ddd !important;
    color: #333 !important;
    font-size: 16px !important;
    padding: 12px !important;
    margin: 5px 0 !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 48px !important;
    line-height: normal !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
}

/* Style WordPress login form */
#ac-login-form label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

#ac-login-form .login-username,
#ac-login-form .login-password,
#ac-login-form .login-remember {
    margin-bottom: 20px !important;
}

#ac-login-form .login-submit {
    margin-top: 20px !important;
}

#ac-login-form .login-submit input[type="submit"] {
    background: #0073aa !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    width: auto !important;
    height: auto !important;
}

#ac-login-form .login-submit input[type="submit"]:hover {
    background: #005a87 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3) !important;
}

/* Remember me toggle switch */
.login-remember {
    margin: 20px 0;
}

.ac-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.ac-toggle-text {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-left: 8px;
    line-height: 26px;
}

.ac-toggle-input,
.login-remember input[type="checkbox"],
#rememberme {
    display: none !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

.ac-toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background: #ddd;
    border-radius: 13px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.ac-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ac-toggle-input:checked + .ac-toggle-switch {
    background: #0073aa;
}

.ac-toggle-input:checked + .ac-toggle-switch .ac-toggle-slider {
    transform: translateX(24px);
}

.ac-toggle-label:hover .ac-toggle-switch {
    background: #ccc;
}

.ac-toggle-input:checked + .ac-toggle-switch:hover {
    background: #005a87;
}

/* Login form button container */
.ac-login-form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.ac-login-form-buttons .ac-btn,
.ac-login-form-buttons input[type="submit"] {
    flex: 1;
    margin: 0 !important;
    text-align: center;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border: none !important;
    display: block !important;
    width: 100% !important;
}

.ac-login-form-buttons .ac-btn-secondary {
    background: #f0f0f0 !important;
    color: #333 !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
}

.ac-login-form-buttons .ac-btn-secondary:hover {
    background: #e0e0e0 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.ac-login-form-buttons .ac-btn-primary {
    background: #0073aa !important;
    color: #fff !important;
}

.ac-login-form-buttons .ac-btn-primary:hover {
    background: #005a87 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3) !important;
}

.ac-login-form-container input:focus,
.ac-form-input:focus {
    border-color: #0073aa !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2) !important;
}

.ac-login-form-container .ac-form-group label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.ac-login-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ac-login-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.ac-login-content {
    display: block;
}

.ac-form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.ac-form-actions .ac-btn {
    flex: 1;
    text-align: center;
}

.ac-form-links {
    margin-top: 15px;
    text-align: center;
}

.ac-form-links a {
    color: #0073aa;
    text-decoration: none;
}

.ac-form-links a:hover {
    text-decoration: underline;
}

/* Messages */
.ac-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    border-left: 4px solid;
}

.ac-message.ac-success {
    background: #e7f7e7;
    border-color: #00a32a;
    color: #00a32a;
}

.ac-message.ac-error {
    background: #f8d7da;
    border-color: #d63638;
    color: #d63638;
}

.ac-restriction-message {
    padding: 40px;
    text-align: center;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 40px 0;
}

.ac-restriction-message h3 {
    margin: 0 0 15px 0;
}

.ac-restriction-message p {
    margin-bottom: 20px;
}

/* Loading State */
.ac-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.ac-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: ac-spin 1s linear infinite;
}

@keyframes ac-spin {
    to { transform: rotate(360deg); }
}

/* Custom Modal */
.ac-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: ac-fadeIn 0.3s;
}

.ac-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: ac-slideIn 0.3s;
    text-align: center;
}

.ac-modal-header {
    margin-bottom: 20px;
}

.ac-modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.ac-modal-body {
    margin-bottom: 30px;
}

.ac-modal-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.ac-modal-body .ac-form {
    text-align: left;
    margin-top: 25px;
}

.ac-modal-body .ac-form-group {
    margin-bottom: 20px;
}

.ac-modal-body .ac-form-group:last-child {
    margin-bottom: 0;
}

.ac-modal-body .ac-form-group label {
    text-align: left;
    display: block;
}

.ac-modal-body textarea {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    resize: vertical;
    min-height: 120px;
}

.ac-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.ac-modal-footer .ac-btn {
    min-width: 100px;
}

.ac-modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.ac-modal-icon.success {
    color: #00a32a;
}

.ac-modal-icon.error {
    color: #d63638;
}

.ac-modal-icon.info {
    color: #0073aa;
}

@keyframes ac-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ac-slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ac-registration-wizard,
    .ac-login-form-container {
        padding: 20px;
    }
    
    .ac-choice-buttons,
    .ac-pricing-rates {
        flex-direction: column;
    }
    
    .ac-login-content {
        flex-direction: column;
    }
    
    .ac-login-divider {
        width: 100%;
        height: 2px;
    }
    
    .ac-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .ac-form-row .ac-form-group {
        margin-bottom: 20px;
    }
    
    .ac-modal-content {
        padding: 30px 20px;
    }
    
    .ac-pricing-config {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ac-config-pricing {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 15px;
    }
    
    .ac-select-config {
        width: 100%;
    }
    
    .ac-promotional-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ac-summary-details p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ac-pricing-table {
        font-size: 14px;
    }
    
    .ac-table-row .ac-table-cell {
        padding: 15px 15px !important;
    }
    
    .ac-table-header .ac-table-cell {
        padding: 10px 12px;
        font-size: 0.85em;
    }
    
    .ac-pricing-table-container h4 {
        font-size: 1.2em;
    }
    
    .ac-table-note {
        font-size: 0.85em;
        padding: 8px 12px;
    }
    
}

/* Dynamic Pricing Options */
.ac-pricing-options {
    margin: 30px 0;
}

.ac-pricing-tier-section {
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ac-pricing-tier-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.ac-pricing-tier-header h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.4em;
}

.ac-pricing-tier-header p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
}

.ac-pricing-configurations {
    padding: 20px;
}

.ac-pricing-config {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ac-pricing-config:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.ac-pricing-config.selected {
    border-color: #0073aa;
    background: #f0f8ff;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
}

/* Promotional Config Styling */
.ac-pricing-config.ac-promo-config {
    border: 2px solid #ff9800;
    background: linear-gradient(180deg, #fff9e6 0%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.2);
    padding-top: 60px; /* Space for banner */
}

.ac-promo-config-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
    flex-wrap: wrap;
    gap: 10px;
    pointer-events: none;
}

.ac-promo-config-banner .ac-promo-badge {
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.ac-promo-config-banner .ac-promo-expiry {
    font-size: 12px;
    opacity: 0.95;
}

.ac-pricing-config.ac-promo-config:hover {
    border-color: #ff9800;
    box-shadow: 0 4px 24px rgba(255, 152, 0, 0.3);
}

.ac-pricing-config.ac-promo-config .ac-select-config {
    background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
    border-color: #ff9800;
}

.ac-pricing-config.ac-promo-config .ac-select-config:hover {
    background: linear-gradient(135deg, #ff6b00 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.ac-config-header {
    flex: 1;
}

.ac-config-header h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2em;
}

.ac-config-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ac-config-details span {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #666;
}

.ac-config-pricing {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ac-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #0073aa;
}

.ac-select-config,
.ac-select-free {
    min-width: 150px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.ac-select-config::before,
.ac-select-free::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ac-select-config:hover::before,
.ac-select-free:hover::before {
    width: 300px;
    height: 300px;
}

.ac-select-config.selected,
.ac-select-free.selected {
    background: #28a745;
    border-color: #28a745;
}

.ac-select-config.selected:hover,
.ac-select-free.selected:hover {
    background: #218838;
    border-color: #218838;
}

.ac-free-tier-section {
    margin-top: 32px;
}

/* Hide free tier section on payment/checkout page */
.ac-step-payment .ac-free-tier-section,
body.step-payment .ac-free-tier-section {
    display: none !important;
}

.ac-free-config {
    padding: 18px 24px;
}

.ac-free-config-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ac-free-config-text h5 {
    margin: 0 0 6px 0;
    font-size: 18px;
}

.ac-free-config-text p {
    margin: 0;
    color: #4d4d4d;
    font-size: 15px;
}

.ac-free-config-actions {
    flex-shrink: 0;
}

.ac-free-config-actions .ac-btn {
    min-width: 160px;
}

@media (max-width: 768px) {
    .ac-free-config-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ac-free-config-actions {
        width: 100%;
    }

    .ac-free-config-actions .ac-btn {
        width: 100%;
    }
}

.ac-pricing-no-options {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.ac-pricing-no-options p {
    margin: 0;
    color: #666;
    font-size: 1.1em;
}

/* Payment Summary */
.ac-payment-summary {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.ac-payment-summary h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5em;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.ac-summary-details {
    line-height: 1.8;
}

.ac-summary-details p {
    margin: 10px 0;
    font-size: 15px;
    color: #555;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ac-summary-details p:last-child {
    border-bottom: none;
}

.ac-summary-details strong {
    color: #333;
    font-weight: 600;
    min-width: 120px;
}

.ac-pricing-table-container {
    margin-bottom: 40px;
}

.ac-pricing-table-container h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
}

/* Modern Grid-Based Table */
.ac-pricing-table {
    width: 100%;
    border: 1px solid #d0d0d0;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    background: white;
}

.ac-table-header {
    display: none;
}

.ac-table-header .ac-table-cell {
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ac-table-body {
    display: flex;
    flex-direction: column;
}

.ac-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s ease;
}

.ac-table-row .ac-table-cell {
    padding: 18px 20px;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.ac-pricing-table.ac-base-rate-table .ac-table-row {
    border-bottom: 1px solid #e8e8e8;
}

.ac-table-row .ac-table-cell:first-child {
    flex: 0 0 auto;
}

.ac-table-row .ac-table-cell:last-child {
    flex: 1 1 auto;
    justify-content: flex-end;
}

.ac-table-row:hover {
    background: white;
}

.ac-table-row:last-child .ac-table-cell {
    border-bottom: none;
}

.ac-text-right {
    justify-content: flex-end;
    text-align: right;
}

/* Base Rate Table - Clean Minimal Theme */
.ac-base-rate-table {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid #d0d0d0;
}

.ac-base-rate-table .ac-table-header {
    display: none;
}

.ac-base-rate-table .ac-table-header .ac-table-cell {
    color: #333;
    border-bottom: 2px solid #0073aa;
}

.ac-base-rate-table .ac-table-row {
    background: white;
}

.ac-base-rate-table .ac-table-row .ac-table-cell {
    background: white;
    color: #333;
    font-size: 15px;
}

.ac-base-rate-table .ac-table-row .ac-table-cell strong {
    font-weight: 600;
    color: #333;
}

.ac-base-rate-table .ac-table-row .ac-table-cell:last-child {
    color: #333;
}

.ac-base-rate-table .ac-table-row:hover {
    background: white;
}

.ac-base-rate-table .ac-table-cell strong {
    color: #333;
}

.ac-base-rate-table .ac-base-rate-row {
    background: white !important;
    border-top: none;
}

.ac-base-rate-table .ac-base-rate-row .ac-table-cell {
    padding: 18px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.ac-base-rate-table .ac-base-rate-row .ac-table-cell:last-child {
    color: #333 !important;
    font-size: 15px !important;
}

/* Modifications Table - 3 Column Layout */
.ac-modifications-table {
    border: 2px solid #0073aa;
    box-shadow: 0 2px 12px rgba(0, 115, 170, 0.15);
}

.ac-modifications-table .ac-table-header {
    grid-template-columns: 60px 1fr auto;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
}

.ac-modifications-table .ac-table-header .ac-table-cell {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    border-bottom: 2px solid #005a87;
}

.ac-modifications-table .ac-table-row {
    grid-template-columns: 60px 1fr auto;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 2px;
    margin: 0;
}

.ac-modifications-table .ac-table-row:last-of-type {
    border-bottom: none;
}

.ac-modifications-table .ac-table-row:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15) ;
    padding-left: 0;
}

.ac-modifications-table .ac-table-row.ac-checked {
    background: #e7f3ff;
    padding-left: 0;
}

.ac-modifications-table .ac-table-row.ac-checked:hover {
    background: #d4e9ff;
    border-bottom: 1px solid #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

.ac-modifications-table .ac-table-cell {
    padding: 16px 18px;
}

.ac-modifications-table .ac-cell-checkbox {
    justify-content: center;
    padding: 16px 12px;
}

.ac-modifications-table .ac-cell-modification {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
    padding: 16px 18px;
}

.ac-modifications-table .ac-cell-modification strong {
    margin-bottom: 4px;
}

.ac-modifications-table .ac-cell-price {
    min-width: 150px;
    padding: 16px 20px;
    font-weight: 600;
}

.ac-modifications-table input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #0073aa;
    flex-shrink: 0;
}

.ac-modifications-table small {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    display: block;
    margin-top: 4px;
}

/* Add-on Section Styling */
.ac-addon-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 3px solid #e0e0e0;
}

.ac-addon-section h3 {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.ac-addon-groups {
    margin-bottom: 30px;
}

.ac-addon-group {
    margin-bottom: 30px;
}

.ac-addon-group h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.ac-addon-options {
    margin-bottom: 20px;
}

.ac-addon-options .ac-modifications-table {
    margin-bottom: 0;
}

/* SIMPLE checkbox styling - just use native with accent color */
input[type="checkbox"].ac-addon-checkbox,
.ac-addon-option input[type="checkbox"],
.ac-addon-options input[type="checkbox"],
.ac-pricing-table input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #0073aa; /* This makes it blue - ONE LINE! */
}

.ac-addon-row {
    cursor: pointer;
}

.ac-addon-row:hover {
    background: #f8f9fa;
}

.ac-addon-row.ac-checked {
    background: #e7f3ff;
}

.ac-addon-row.ac-checked:hover {
    background: #d4e9ff;
}

.ac-addon-checkbox {
    cursor: pointer;
}

.ac-modified-rate-row {
    background: linear-gradient(135deg, #e7f3ff 0%, #d4e9ff 100%) !important;
    border-top: 3px solid #0073aa !important;
    border-left: none !important;
    border-bottom: none !important;
    font-weight: 600;
    cursor: default !important;
    user-select: text !important;
    margin-top: 4px;
}

.ac-modified-rate-row:hover {
    transform: none !important;
    box-shadow: none !important;
    border-left: none !important;
    padding-left: 2px !important;
}

.ac-modified-rate-row .ac-table-cell {
    padding: 18px 20px !important;
    font-size: 1.15em !important;
}

.ac-modified-rate-row .ac-table-cell:last-child {
    color: #0073aa;
    font-weight: 700;
    font-size: 1.3em !important;
}

.ac-colspan-2 {
    grid-column: span 2;
}

.ac-table-note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin: 10px 0 0 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-left: 3px solid #0073aa;
    border-radius: 0 4px 4px 0;
}

/* Pricing Section Headings */
.ac-pricing-section h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

/* Package information in negotiation modal */
.ac-package-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.ac-package-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1em;
}

.selected-package-details {
    font-size: 0.95em;
    line-height: 1.4;
}

.selected-package-details strong {
    color: #0073aa;
    font-size: 1.1em;
}

.selected-package-details em {
    color: #666;
    font-style: normal;
}

.package-addons-list {
    margin: 10px 0;
    padding-left: 20px;
    list-style: none;
}

.package-addons-list li {
    position: relative;
    padding-left: 15px;
    margin: 5px 0;
    font-size: 0.9em;
    color: #555;
}

.package-addons-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
}

.package-price {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    margin-top: 10px;
}

.price-period {
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
}

/* Disabled negotiate button styling */
#ac-negotiate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f0f0f1;
    border-color: #c3c4c7;
    color: #a7aaad;
}

#ac-negotiate-btn:disabled:hover {
    background: #f0f0f1;
    border-color: #c3c4c7;
    color: #a7aaad;
}

/* Disclaimer Notice */
.ac-disclaimer-notice {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    padding: 15px 20px;
    margin: 30px 0 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ac-disclaimer-notice i {
    color: #0073aa;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ac-disclaimer-notice p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive pricing */
@media (max-width: 768px) {
    .ac-pricing-config {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .ac-config-pricing {
        justify-content: space-between;
    }
    
    .ac-config-details {
        gap: 10px;
    }
}

/* Negotiated Pricing Styles */
.ac-negotiated-pricing {
    background: #f8f9fa;
    color: #333;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.ac-pricing-header {
    margin-bottom: 20px;
}

.ac-pricing-header h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.ac-pricing-header i {
    margin-right: 8px;
    color: #333;
}

.ac-discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ac-pricing-comparison {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ac-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.ac-price-row:last-child {
    border-bottom: none;
}

.ac-price-label {
    font-weight: 500;
    color: #333;
}

.ac-price-value {
    font-weight: 600;
    color: #666;
}

.ac-original-price .ac-price-value {
    text-decoration: line-through;
    color: #999;
}

.ac-negotiated-price {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.ac-negotiated-price .ac-price-value {
    color: #2e7d32;
    font-weight: bold;
    font-size: 18px;
}

.ac-savings {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.ac-savings-label {
    font-weight: 500;
    color: #333;
    margin-right: 10px;
}

.ac-savings-value {
    color: #2e7d32;
    font-weight: bold;
    font-size: 16px;
}

/* Promotional Pricing Styles - Linear Layout */
.ac-promotional-pricing {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.ac-promotional-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-top: 30px solid #ffc107;
}

/* Hide old badge styling */
.ac-promotional-badge {
    display: none;
}

/* New promotional offer text above pricing */
.ac-promo-offer-text {
    color: #d9534f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}

.ac-promo-offer-text i {
    font-size: 12px;
}

/* Linear pricing layout */
.ac-price-comparison {
    margin-top: 50px; /* Space for the badge */
    margin-bottom: 20px;
}

.ac-original-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.ac-original-price .ac-price-label {
    color: #6c757d;
    font-size: 14px;
}

.ac-original-price .ac-price-value {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

/* Single column pricing layout */
.ac-promotional-details-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.ac-promotional-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
}

.ac-promotional-price .ac-price-label {
    color: #28a745;
    font-weight: 600;
    font-size: 16px;
}

.ac-promotional-price .ac-price-value {
    color: #28a745;
    font-weight: 700;
    font-size: 20px;
}

.ac-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
}

.ac-savings-label {
    font-weight: 500;
    color: #155724;
    font-size: 16px;
}

.ac-savings-value {
    font-weight: 700;
    color: #155724;
    font-size: 18px;
}

.ac-archive-included {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #0d47a1;
    font-weight: 600;
    font-size: 16px;
}

.ac-archive-included i {
    margin-right: 8px;
    color: #2196f3;
    font-size: 18px;
}

.ac-promotional-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 13px;
    color: #6c757d;
}

.ac-subscription-years {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.ac-subscription-years i {
    margin-right: 6px;
    color: #ffc107;
}

.ac-time-remaining {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.ac-time-remaining i {
    margin-right: 4px;
    animation: ac-pulse 2s infinite;
}

@keyframes ac-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Simplified promotional pricing display */
.ac-promo-price-display {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 20px 0;
    max-width: 100%;
    width: 100%;
}

.ac-promo-your-price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    justify-content: flex-end;
}

.ac-promo-your-price .ac-price-label {
    color: #5cb85c;
    font-weight: 600;
    font-size: 16px;
}

.ac-promo-your-price .ac-price-value {
    color: #5cb85c;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
}

.ac-promo-regular-price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    justify-content: flex-end;
}

.ac-promo-regular-price .ac-price-label {
    color: #777;
    font-size: 14px;
    font-weight: 500;
}

.ac-promo-regular-price .ac-price-value {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

/* Time info section - removed, now in badge */

/* Responsive adjustments for promotional pricing */
@media (max-width: 768px) {
    .ac-promotional-badge {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 15px;
    }
    
    .ac-price-comparison {
        margin-top: 0;
    }
    
    .ac-promotional-details-row {
        padding: 15px;
    }
    
    .ac-promotional-price,
    .ac-savings,
    .ac-archive-included {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ac-promotional-details {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .ac-promo-price-display {
        margin: 15px 0;
    }
    
    .ac-promo-your-price .ac-price-value {
        font-size: 28px;
    }
}

/* ===========================================================================
   CASE STUDY CONTENT RESTRICTION & PDF ACCESS
   =========================================================================== */

/* Restricted Content Container */
.case-study-restricted {
    margin: 30px 0;
}

/* Paywall */
.case-study-paywall {
    background: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    max-width: 800px;
    margin: 80px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ac-paywall-content {
    display: flex;
    flex-direction: column;
}

/* White Top Section */
.paywall-top {
    padding: 50px 60px;
    text-align: left;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.ac-paywall-content h3 {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.ac-paywall-content .paywall-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* Blue CTA Section */
.paywall-cta-section {
    background: #4A6D88;
    padding: 60px 60px;
    text-align: center;
}

.paywall-cta-section .paywall-cta {
    font-size: 22px;
    color: #fff;
    margin-bottom: 35px;
    font-weight: 400;
    line-height: 1.5;
}

.paywall-button {
    display: inline-block;
    padding: 18px 60px;
    background: #2D4455;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    letter-spacing: 0.3px;
}

.paywall-button:hover {
    background: #1F2E3A;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff !important;
    opacity: 1;
}

/* PDF Access Section */
.case-study-pdf-section {
    background: #4A6D88;
    border-radius: 6px;
    padding: 30px;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.case-study-pdf-section h3 {
    margin: 0 0 20px 0;
    color: #fff !important;
    font-size: 22px;
    gap: 10px;
    justify-content: center;
}

.case-study-pdf-section h3::before {
    content: '\f1c1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
}

.case-study-pdf-section h3:after {
    display: none !important;
}

/* Executive Summary Section - Distinct Styling */
.case-study-executive-summary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: 2px solid #1e7e34;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.case-study-executive-summary h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.case-study-executive-summary h3::before {
    content: none;
}

.case-study-executive-summary h3 i {
    font-size: 24px;
}

/* PDF Buttons */
.ac-pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
    margin-bottom: 10px;
}

.ac-pdf-btn i {
    font-size: 18px;
}

.ac-pdf-view {
    background: #fff;
    color: #2D4455;
    border-color: #2D4455;
}

.ac-pdf-view:hover {
    background: #1F2E3A;
    color: #fff;
    border-color: #1F2E3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.ac-pdf-download {
    background: #2D4455;
    color: #fff;
    border-color: #2D4455;
}

.ac-pdf-download:hover {
    background: #1F2E3A;
    border-color: #1F2E3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* PDF Restricted Overlay */
.case-study-pdf-restricted {
    background: #f5f5f5;
    border-color: #ddd;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-restricted-overlay {
    text-align: center;
    padding: 40px 20px;
}

.pdf-restricted-overlay i {
    font-size: 48px;
    color: #999;
    margin-bottom: 20px;
    display: block;
}

.pdf-restricted-overlay h4 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.pdf-restricted-overlay p {
    margin: 0 0 24px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    background: #0073aa;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf-upgrade-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.ac-pdf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* PDF Viewer Modal */
.ac-pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    animation: ac-fadeIn 0.3s ease;
}

.ac-pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-pdf-modal-content {
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: ac-slideIn 0.3s ease;
}

.ac-pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.ac-pdf-modal-title {
    margin: 0;
    color: #212529;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ac-pdf-modal-title i {
    color: #0073aa;
}

.ac-pdf-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ac-pdf-modal-close:hover {
    background: #e9ecef;
    color: #212529;
}

.ac-pdf-modal-body {
    flex: 1;
    overflow: auto;
    position: relative;
    background: #525252;
}

.ac-pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ac-pdf-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.ac-pdf-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ac-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.ac-pdf-loading-text {
    font-size: 16px;
    font-weight: 500;
}

/* Watermark Notice */
.ac-pdf-watermark-notice {
    padding: 15px 30px;
    background: #fff3cd;
    border-top: 2px solid #ffc107;
    text-align: center;
    font-size: 14px;
    color: #856404;
}

.ac-pdf-watermark-notice i {
    margin-right: 8px;
    color: #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .case-study-paywall {
        margin: 40px 20px 0 20px;
    }
    
    .paywall-top {
        padding: 35px 25px;
    }
    
    .paywall-cta-section {
        padding: 45px 25px;
    }
    
    .ac-paywall-content h3 {
        font-size: 24px;
    }
    
    .ac-paywall-content .paywall-message {
        font-size: 16px;
    }
    
    .paywall-cta-section .paywall-cta {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .paywall-button {
        padding: 15px 35px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
    
    .case-study-pdf-section {
        padding: 20px;
    }
    
    .ac-pdf-btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .ac-pdf-modal-content {
        width: 95%;
        height: 95vh;
    }
    
    .ac-pdf-modal-header {
        padding: 15px 20px;
    }
    
    .ac-pdf-modal-title {
        font-size: 16px;
    }
}


/* Payment Method Selector */
.ac-payment-method-selector {
    margin: 30px 0;
}

.ac-payment-method-selector h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #1d2327;
}

.ac-payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.ac-payment-method-option {
    cursor: pointer;
}

.ac-payment-method-option input[type="radio"] {
    display: none;
}

.ac-payment-method-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.ac-payment-method-option input[type="radio"]:checked + .ac-payment-method-card {
    border-color: #00a2f8;
    background: #e8f4fd;
}

.ac-payment-method-card strong {
    display: block;
    font-size: 16px;
    color: #1d2327;
    margin-bottom: 5px;
}

.ac-payment-method-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.ac-ach-wire-container {
    margin-top: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.ac-ach-wire-info {
    margin-bottom: 20px;
}

.ac-ach-wire-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.ac-ach-wire-info h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.ac-ach-wire-info h4 i {
    margin-right: 8px;
}

.ac-ach-wire-info p {
    margin: 10px 0;
    line-height: 1.6;
}

.ac-ach-wire-info ol {
    margin: 0;
    padding-left: 20px;
}

.ac-ach-wire-info ol li {
    margin-bottom: 10px;
}

.ac-ach-pricing-box {
    text-align: center;
}

.ac-ach-instructions {
    text-align: left;
}

/* Credit Card Payment Container */
.ac-stripe-container {
    margin-top: 30px;
    transition: opacity 0.3s ease;
}

/* Smooth transitions for payment method switching */
#ac-credit-card-payment,
#ac-ach-wire-payment {
    animation: fadeIn 0.3s ease;
}

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

@media (max-width: 768px) {
    .ac-payment-methods {
        grid-template-columns: 1fr;
    }
    
    .ac-ach-wire-container {
        padding: 20px;
    }
}
