:root {
    --bg-color: #6DD8E4;
}
.pricing-section {
    background: #f9fbfc;
}

.pricing-eyebrow {
    font-size: 1.1rem;
    color: #6c757d;
}

.billing-toggle {
    background: #fff;
    border: 1px solid #e0e7ed;
}

.billing-toggle .form-switch .form-check-input {
    width: 3.5rem;
    height: 1.8rem;
    cursor: pointer;
    background-color: #cfe7f4;
    border-color: #cfe7f4;
}

.billing-toggle .form-switch .form-check-input:checked {
    background-color: var(--bg-color);
    border-color: var(--bg-color);
}

.save-pill {
    background: #e5fafc;
    color: var(--bg-color);
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    position: relative;
    /* overflow: hidden; */
}

.pricing-card:hover {
    box-shadow: 0 15px 40px rgba(20, 41, 61, 0.06);
}

.pricing-card.highlight {
    border: 3px solid #6DD8E4;
}

.btn-outline-dark:hover {
    background-color: #6DD8E4;
    color: white;
    border-color: #6DD8E4;
}

.plan-label {
    letter-spacing: 0.05em;
    font-size: 18px;
}

.plan-subtitle {
    color: #5c6b7a;
    min-height: 48px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #0b1b2b;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.amount-value {
    line-height: 1;
}

.amount-currency {
    font-size: 1.1rem;
    color: #5c6b7a;
}

.billing-caption {
    text-transform: lowercase;
    color: #5c6b7a;
}

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

.plan-features li {
    position: relative;
    margin-bottom: 0.7rem;
    color: #030712;
}

.pricing-card .btn {
    border-radius: 10px;
    padding: 0.75rem;
    /* font-weight: 600; */
}

.most-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #6DD8E4;
    color: #000000;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    z-index: 2;
}

.plan-note {
    font-size: 0.9rem;
    color: #5c6b7a;
}

@media (max-width: 991.98px) {
    .pricing-amount {
        font-size: 2.5rem;
    }

    .plan-subtitle {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .billing-toggle {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.5rem;
    }

    .save-pill {
        width: 100%;
        text-align: center;
    }
}

/* Subscription Modal Styles */
#subscriptionModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.subscription-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.subscription-modal-header {
    border: none;
    padding: 24px 24px 0;
    position: relative;
}

.subscription-progress-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.subscription-progress {
    display: flex;
    align-items: center;
    gap: 0;
}

.progress-step {
    display: flex;
    align-items: center;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-circle.active {
    background: var(--bg-color);
    color: #ffffff;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.progress-step:last-child .step-line {
    display: none;
}

.progress-step.active .step-line {
    background: var(--bg-color);
}

.progress-step.active~.progress-step .step-circle {
    background: #e5e7eb;
    color: #6b7280;
}

.subscription-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    opacity: 0.6;
    font-size: 18px;
}

.subscription-modal-body {
    padding: 0 24px 32px;
}

.subscription-title {
    font-size: 28px;
    font-weight: 700;
    color: #030712;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
}

.subscription-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.subscription-plan-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.plan-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #030712;
    margin-bottom: 12px;
}

.plan-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.plan-price-value {
    font-size: 48px;
    font-weight: 700;
    color: #030712;
    line-height: 1;
}

.plan-price-currency {
    font-size: 18px;
    color: #5c6b7a;
    font-weight: 500;
}

.plan-price-period {
    font-size: 14px;
    color: #5c6b7a;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.plan-billing-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    background: #f3f4f680;
    padding: 15px;
    border-radius: 10px;
}

.plan-billing-switch .form-check-input {
    width: 56px;
    height: 28px;
    cursor: pointer;
    background-color: #e5e7eb;
    border-color: #e5e7eb;
}

.plan-billing-switch .form-check-input:checked {
    background-color: var(--bg-color);
    border-color: var(--bg-color);
}

.plan-billing-label {
    font-size: 14px;
    color: #030712;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
}

.plan-save-badge {
    background: #e5fafc;
    color: var(--bg-color);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}

.plan-includes {
    margin-top: 24px;
}

.plan-includes-title {
    font-size: 14px;
    font-weight: 600;
    color: #030712;
    margin-bottom: 12px;
}

.plan-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.plan-includes-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #030712;
}

.plan-includes-list li svg {
    width: 20px;
    height: 20px;
    color: var(--bg-color);
    flex-shrink: 0;
}

.subscription-btn-primary {
    width: 100%;
    background: var(--bg-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.subscription-btn-primary:hover {
    background: #33c4d4;
}

/* Payment Step Styles */
.payment-method-section {
    margin-bottom: 24px;
}

.payment-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #030712;
    margin-bottom: 12px;
}

.payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #030712;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-method-btn:hover {
    border-color: var(--bg-color);
}

.payment-method-btn.active {
    border-color: var(--bg-color);
    background: #f0fdfe;
}

.payment-method-btn svg {
    width: 20px;
    height: 20px;
}

.card-details-section {
    margin-bottom: 24px;
}

.payment-input {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #030712;
}

.payment-input:focus {
    border-color: var(--bg-color);
    box-shadow: 0 0 0 3px rgba(39, 182, 211, 0.1);
    outline: none;
}

.order-summary {
    background: transparent;
    border-radius: .5rem;
    padding: 20px;
    height: fit-content;
    border: 1px solid #e5e7eb;
}

.order-summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #030712;
    margin-bottom: 16px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-item-label {
    font-size: 14px;
    color: #030712;
}

.order-item-value {
    font-size: 14px;
    color: #030712;
    font-weight: 500;
}

.order-summary-divider {
    margin: 16px 0;
    /* border-color: #e5e7eb; */
    background-color: gray;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #030712;
}

.order-total-value {
    font-size: 16px;
    font-weight: 700;
    color: #030712;
}

.order-summary-note {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* Success Step Styles */
.subscription-success-body {
    text-align: center;
}

.success-icon-container {
    margin-bottom: 24px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.subscription-details {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.subscription-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.subscription-detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 14px;
    color: #6b7280;
}

.detail-value {
    font-size: 14px;
    color: #030712;
    font-weight: 600;
}

.subscription-help-text {
    font-size: 14px;
    color: #6b7280;
    margin-top: 16px;
    margin-bottom: 0;
}
.plan-select-btn-common {
    border-radius: 10px;
    height: 50px !important;
    padding: 0.75rem;
}
@media (max-width: 767.98px) {
    .plan-includes-list {
        grid-template-columns: 1fr;
    }

    .order-summary {
        margin-top: 24px;
    }
}

/* Unified Pricing Modal Styles */
.unified-pricing-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: #f9fbfc;
}

.unified-pricing-modal-header {
    border: none;
    padding: 24px 24px 0;
    position: relative;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
}

.unified-progress-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.unified-progress {
    display: flex;
    align-items: center;
    gap: 0;
}

.unified-progress-step {
    display: flex;
    align-items: center;
}

.unified-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.unified-step-circle.active {
    background: var(--bg-color);
    color: #ffffff;
}

.unified-step-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.unified-progress-step:last-child .unified-step-line {
    display: none;
}

.unified-progress-step.active .unified-step-line {
    background: var(--bg-color);
}

.unified-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    opacity: 1;
    z-index: 1055;
    background: none;
    border: none;
    padding: 0.5rem;
    width: auto;
    height: auto;
}

.unified-close-btn::before {
    content: '×';
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
    font-weight: 300;
}

.unified-close-btn:hover::before {
    color: #030712;
}

.unified-pricing-modal-body {
    padding: 32px;
    background: #ffffff;
}

/* Step 1: Create Account */
.create-account-container {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.create-account-title {
    font-size: 28px;
    font-weight: 700;
    color: #030712;
    margin-bottom: 8px;
    line-height: 1.2;
}

.create-account-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.5;
}

.create-account-form {
    text-align: left;
}

.form-group-account {
    margin-bottom: 24px;
}

.account-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #030712;
    margin-bottom: 8px;
}

.account-input {
    width: 100%;
    /* padding: 12px 16px; */
    /* border: 1px solid #e5e7eb; */
    /* border-radius: 8px; */
    font-size: 14px;
    /* color: #030712; */
    transition: all 0.2s ease;
}

.account-input:focus {
    outline: none;
    border-color: var(--bg-color);
    box-shadow: 0 0 0 3px rgba(109, 216, 228, 0.1);
}

.account-input::placeholder {
    color: #9ca3af;
}

.account-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
}

.account-continue-btn {
    width: 100%;
    /* padding: 14px 24px; */
    /* background: linear-gradient(to right, #7dd3fc, #22d3ee); */
    /* color: #ffffff; */
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    /* margin-bottom: 24px; */
}

.account-continue-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 216, 228, 0.3);
}

.account-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.account-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.account-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.account-login-link {
    font-size: 14px;
    color: #6b7280;
    margin-top: 16px;
}

.account-login-link a {
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
}

.account-login-link a:hover {
    text-decoration: underline;
}

/* Step 2: Plan Selection */
.plan-selection-container {
    max-width: 100%;
}

/* Step 3: Checkout */
.unified-checkout-body {
    background: #ffffff;
}

.checkout-container {
    max-width: 100%;
}

.checkout-left-section {
    padding-right: 24px;
}

.checkout-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #030712;
    margin-bottom: 24px;
}

.card-info-section {
    margin-bottom: 24px;
}

.card-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #030712;
}

.card-info-header svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
}

.card-details-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.business-purchase-section {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.business-purchase-section .form-check {
    margin-bottom: 8px;
}

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

.business-purchase-section .form-check-label {
    font-size: 14px;
    color: #030712;
    font-weight: 500;
}

.business-note {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.business-details-section {
    margin-top: 24px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.business-details-title {
    font-size: 18px;
    font-weight: 600;
    color: #030712;
    margin-bottom: 20px;
}

.business-details-section .payment-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.business-details-section .payment-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #030712;
    background: #ffffff;
}

.business-details-section .payment-input:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.terms-section {
    margin-bottom: 24px;
}

.terms-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.terms-text:last-child {
    margin-bottom: 0;
}

.terms-link {
    color: var(--bg-color);
    text-decoration: none;
}

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

.secure-checkout-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.secure-checkout-info svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.checkout-purchase-btn {
    width: 100%;
    /* padding: 14px 24px;
    background: linear-gradient(to right, #7dd3fc, #22d3ee);
    color: #ffffff; */
    /* border: none; */
    /* border-radius: 10px; */
    /* font-size: 16px;
    font-weight: 600; */
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.checkout-purchase-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 216, 228, 0.3);
}

.cancel-policy-text {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin: 0;
}

/* Checkout Right Section */
.checkout-right-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 24px;
}

.plan-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #030712;
    margin-bottom: 20px;
}

.plan-selector-wrapper {
    margin-bottom: 20px;
}

.plan-selector {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #030712;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plan-selector:focus {
    outline: none;
    border-color: var(--bg-color);
    box-shadow: 0 0 0 3px rgba(109, 216, 228, 0.1);
}

.billing-toggle-checkout {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.billing-toggle-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #030712;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.billing-toggle-btn:hover {
    border-color: var(--bg-color);
}

.billing-toggle-btn.active {
    background: var(--bg-color);
    color: #ffffff;
    border-color: var(--bg-color);
}

.billing-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
    padding: 12px;
    background: #f0fdfe;
    border-radius: 8px;
}

.billing-hint svg {
    width: 16px;
    height: 16px;
    color: var(--bg-color);
    flex-shrink: 0;
}

.seats-section {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.seats-label {
    font-size: 14px;
    color: #030712;
    margin-bottom: 12px;
    font-weight: 500;
}

.seats-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.seats-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #030712;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seats-btn:hover {
    border-color: var(--bg-color);
    background: #f0fdfe;
}

.seats-count {
    font-size: 18px;
    font-weight: 600;
    color: #030712;
    min-width: 32px;
    text-align: center;
}

.seats-note {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    text-align: center;
}

.account-info-section {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.account-info-text {
    font-size: 14px;
    color: #030712;
    margin: 0;
}

.price-breakdown {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.price-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.price-breakdown-item:last-child {
    margin-bottom: 0;
}

.price-item-label {
    font-size: 14px;
    color: #030712;
}

.price-item-value {
    font-size: 14px;
    color: #030712;
    font-weight: 600;
}

.today-total-section {
    margin-bottom: 24px;
}

.today-total-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.today-total-amount {
    font-size: 32px;
    font-weight: 700;
    color: #030712;
    margin: 0 0 4px 0;
    line-height: 1;
}

.today-total-note {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f0fdfe;
    border-radius: 8px;
    font-size: 14px;
    color: #030712;
    line-height: 1.5;
}

.feature-highlight svg {
    width: 20px;
    height: 20px;
    color: var(--bg-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Step 4: Success */
.unified-success-body {
    background: linear-gradient(to bottom right, #ffffff, #f0fdfe);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    padding: 0 !important;
}

/* Hide header on success step */
.unified-pricing-modal-content:has(.unified-success-body[style*="block"]) .unified-pricing-modal-header {
    display: none;
}

/* Animated Bubbles */
.success-bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.success-bubble {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #a5f3fc;
    border-radius: 50%;
    opacity: 0;
    animation: bubbleFloat 20s infinite linear;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(-50px) translateX(0);
        opacity: 0;
    }
    3% {
        opacity: 0.5;
    }
    97% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) translateX(15px);
        opacity: 0;
    }
}

.success-bubble:nth-child(odd) {
    animation-duration: 18s;
    width: 5px;
    height: 5px;
}

.success-bubble:nth-child(even) {
    animation-duration: 22s;
    width: 7px;
    height: 7px;
}

.success-bubble:nth-child(3n) {
    animation-duration: 25s;
    width: 6px;
    height: 6px;
    opacity: 0.4;
}

.success-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    box-shadow: 0 4px 20px rgba(109, 216, 228, 0.3);
}

.success-icon-circle svg {
    width: 48px;
    height: 48px;
    color: #ffffff;
}

.success-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #030712;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}

.success-confetti-icon {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    justify-content: center;
    flex-shrink: 0;
}

.success-confetti-icon svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.success-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.success-buttons-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.success-primary-btn {
    /* padding: 14px 32px; */
    /* background: linear-gradient(to right, #7dd3fc, #22d3ee);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer; */
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* .success-primary-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 216, 228, 0.3);
} */

.success-secondary-btn {
    padding: 8px 32px;
    background: #ffffff;
    color: #030712;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.success-secondary-btn:hover {
    border-color: var(--bg-color);
    background: #f0fdfe;
}

.success-receipt-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .checkout-left-section {
        padding-right: 0;
        margin-bottom: 24px;
    }
    
    .checkout-right-section {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .unified-pricing-modal-body {
        padding: 20px;
    }
    
    .create-account-container {
        max-width: 100%;
    }
    
    .billing-toggle-checkout {
        flex-direction: column;
    }
    
    .success-main-title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }
    
    .success-buttons-group {
        flex-direction: column;
    }
    
    .success-primary-btn,
    .success-secondary-btn {
        width: 100%;
    }
}

/* Saved Payment Method Styles */
.saved-payment-method-section {
    margin-bottom: 24px;
}

.saved-card-display {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saved-card-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.saved-card-brand {
    font-size: 14px;
    font-weight: 600;
    color: #030712;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 6px;
}

.saved-card-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.saved-card-label {
    font-size: 14px;
    color: #6b7280;
    letter-spacing: 2px;
}

.saved-card-last4 {
    font-size: 16px;
    font-weight: 600;
    color: #030712;
}

.saved-card-expiry {
    font-size: 13px;
    color: #6b7280;
}

.btn-change-payment-method {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bg-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-change-payment-method:hover {
    border-color: var(--bg-color);
    background: #f0fdfe;
}
/* Downgrade Warning Modal Styles */
.downgrade-warning-modal {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    max-width: 600px;
    z-index: 1055;
}

.downgrade-warning-modal .modal-dialog {
    z-index: 1056;
}

.downgrade-warning-header {
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.downgrade-warning-header .btn-close {
    opacity: 0.6;
    font-size: 20px;
}

.downgrade-warning-header .btn-close:hover {
    opacity: 1;
}

.downgrade-warning-title {
    font-size: 20px;
    font-weight: 600;
    color: #030712;
    margin: 0;
}

.downgrade-warning-body {
    padding: 32px;
    background: #ffffff;
}

.downgrade-warning-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.downgrade-limits-table {
    margin-bottom: 24px;
}

.downgrade-limits-table table {
    width: 100%;
    border-collapse: collapse;
}

.downgrade-limits-table thead th {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.downgrade-limits-table thead th:first-child {
    width: 40%;
}

.downgrade-limits-table thead th:last-child {
    width: 60%;
}

.downgrade-limits-table tbody td {
    padding: 16px 0;
    font-size: 14px;
    color: #030712;
    border-bottom: 1px solid #f3f4f6;
}

.downgrade-limits-table tbody tr:last-child td {
    border-bottom: none;
}

.downgrade-limits-table tbody td {
    font-weight: 500;
    color: #374151;
}

.downgrade-over-limit {
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.downgrade-warning-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.downgrade-message-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.downgrade-message-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.downgrade-warning-footer {
    padding: 20px 32px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-keep-current-plan {
    padding: 10px 20px;
    background: #ffffff;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-keep-current-plan:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-continue-downgrade {
    padding: 10px 20px;
    /* background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500; */
    cursor: pointer;
    transition: all 0.2s ease;
}

/* .btn-continue-downgrade:hover {
    background: #2563eb;
} */

/* Downgrade Modal Responsive */
@media (max-width: 768px) {
    .downgrade-warning-body {
        padding: 24px;
    }
    
    .downgrade-warning-footer {
        padding: 16px 24px;
        flex-direction: column-reverse;
    }
    
    .btn-keep-current-plan,
    .btn-continue-downgrade {
        width: 100%;
    }
    
    .downgrade-limits-table thead th:first-child,
    .downgrade-limits-table thead th:last-child {
        width: 50%;
    }
}

/* Downgrade to Free Modal Styles - Pixel Perfect Design */
.downgrade-to-free-modal {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    max-width: 600px;
    z-index: 1055;
}

.downgrade-to-free-modal .modal-dialog {
    z-index: 1056;
}

.downgrade-to-free-header {
    padding: 20px 24px;
    border-bottom: none;
    background: #ffffff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.downgrade-to-free-header .btn-close {
    opacity: 0.6;
    font-size: 20px;
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.downgrade-to-free-header .btn-close:hover {
    opacity: 1;
}

.downgrade-to-free-body {
    padding: 0 32px 24px 32px;
    background: #ffffff;
}

/* Visual Diagram */
.downgrade-visual-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-top: 24px;
}

.downgrade-visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.downgrade-storage-icon {
    width: 56px;
    height: 72px;
    position: relative;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.downgrade-storage-icon svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
    position: relative;
    z-index: 2;
}

.downgrade-lock-icon {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    color: #9ca3af;
    z-index: 3;
}

.downgrade-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 33%;
    background: #fbbf24;
    z-index: 1;
    transition: height 0.3s ease;
}

.downgrade-folder-icon {
    width: 56px;
    height: 56px;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.downgrade-folder-icon svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
}

.downgrade-arrow {
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.downgrade-arrow svg {
    width: 20px;
    height: 20px;
}

.downgrade-visual-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

/* Title */
.downgrade-to-free-title {
    font-size: 20px;
    font-weight: 700;
    /* line-height: 1.2; */
    color: #0b1b2b;
    margin: 0 0 24px 0;
    text-align: center;
    /* letter-spacing: -0.02em; */
}

/* Free Plan Features */
.downgrade-free-features {
    margin-bottom: 24px;
    padding: 15px;
    background: #f3f4f64d;
    border-radius: 10px;
}

.downgrade-features-title {
    font-size: 0.875rem;
    font-weight: normal;
    color: #657086;
    margin: 0 0 16px 0;
}

.downgrade-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-bottom: 0;
}

.downgrade-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #374151;
}

.downgrade-feature-item svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
    flex-shrink: 0;
}

/* Warning Box */
.downgrade-warning-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.downgrade-warning-text {
    font-size: 14px;
    color: #92400e;
    margin: 0;
    line-height: 1.5;
}

/* Grace Period Box */
.downgrade-grace-period {
    background: #f0fbfc;
    border: 1px solid #f0fbfc;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.downgrade-grace-period-text {
    font-size: 14px;
    color: var(--bg-color);
    margin: 0;
    line-height: 1.5;
}

.downgrade-grace-period-text strong {
    font-weight: 600;
}

/* Footer */
.downgrade-to-free-footer {
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    display: block;
    gap: 12px;
    background: #ffffff;
}

.btn-continue-pro {
    flex: 1;
    padding: 12px 24px;
    background: #6DD8E4;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-dark-plan {
    background-color: #000;
    color: #fff;
}
.btn-dark-plan:hover {
    background-color: var(--bg-color);
    color: #fff;
}
.btn-continue-pro:hover {
    background: #5bc4d0;
}

.btn-continue-free {
    flex: 1;
    padding: 12px 24px;
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-continue-free:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-continue-free:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Help Section */
.downgrade-help-section {
    padding: 16px 32px 24px 32px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.downgrade-help-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    justify-content: center;
}

.downgrade-help-content svg {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    flex-shrink: 0;
}

.downgrade-help-text {
    color: #6b7280;
}

.downgrade-help-link {
    color: #6DD8E4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.downgrade-help-link:hover {
    color: #5bc4d0;
    text-decoration: underline;
}

.downgrade-help-separator {
    color: #9ca3af;
}

/* Downgrade to Free Modal Responsive */
@media (max-width: 768px) {
    .downgrade-to-free-body {
        padding: 0 24px 24px 24px;
    }
    
    .downgrade-to-free-title {
        font-size: 24px;
    }
    
    .downgrade-features-list {
        grid-template-columns: 1fr;
    }
    
    .downgrade-to-free-footer {
        padding: 20px 24px;
        flex-direction: column;
    }
    
    .btn-continue-pro,
    .btn-continue-free {
        width: 100%;
    }
    
    .downgrade-help-section {
        padding: 16px 24px 24px 24px;
    }
    
    .downgrade-help-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* Trial Ended Step Styles - Pixel Perfect Design */
#unifiedStep0_billing .unified-pricing-modal-body,
#unifiedStep0_workspace .unified-pricing-modal-body,
#unifiedStep0_pricing .unified-pricing-modal-body,
#unifiedStep0 .unified-pricing-modal-body {
    padding: 0;
}

.trial-ended-container {
    max-width: 540px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
}

.trial-ended-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #0b1b2b;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.trial-ended-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #5c6b7a;
    margin: 0 0 32px 0;
    font-weight: 400;
}

.trial-plan-box {
    background: #ffffff;
    border: 2px solid #6DD8E4;
    border-radius: 12px;
    padding: 24px;
    margin: 0 0 24px 0;
    text-align: left;
}

.trial-plan-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #0b1b2b;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.trial-plan-features {
    display: block;
}

.trial-features-columns {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
}

.trial-features-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.trial-features-column-left {
    flex: 1;
}

.trial-features-column-right {
    flex: 1;
}

.trial-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #0b1b2b;
    font-size: 15px;
    line-height: 1.5;
}

.trial-feature-item svg {
    color: #6DD8E4;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.trial-feature-item span {
    flex: 1;
}

.trial-continue-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 12px 0;
    background-color: #6DD8E4;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.trial-continue-btn:hover {
    background-color: #5bc9d3;
}

.trial-continue-note {
    font-size: 14px;
    line-height: 1.5;
    color: #5c6b7a;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.trial-downgrade-link {
    margin: 0;
}

.trial-downgrade-anchor {
    color: #5c6b7a;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    transition: color 0.2s ease;
}

.trial-downgrade-anchor:hover {
    color: #0b1b2b;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .trial-ended-container {
        padding: 32px 20px;
    }
    
    .trial-ended-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .trial-ended-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .trial-plan-box {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .trial-plan-name {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .trial-features-columns {
        flex-direction: column;
        gap: 16px;
    }
    
    .trial-feature-item {
        font-size: 14px;
    }
    
    .trial-continue-btn {
        font-size: 15px;
        padding: 12px 20px;
    }
    
    .trial-continue-note {
        font-size: 13px;
    }
    
    .trial-downgrade-anchor {
        font-size: 14px;
    }
}
