:root {
    --primary: #7952f6;
    --primary-light: #9a7bff;
    --primary-dark: #6039e5;
    --primary-bg: rgba(121, 82, 246, 0.05);
    --secondary: #f5f5ff;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #495057;
    --body-bg: #ffffff;
    --body-color: #212529;
}

.modal__custom--upgrade-ezsharing {
    max-width: 80% !important;
    overflow: auto;
}

/* Demo container */
.demo-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1rem;
}

.demo-title {
    margin-bottom: 2rem;
}

.btn-demo {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(121, 82, 246, 0.4);
}

/* Modal Styles */
.modal-upgrade .modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* .modal-upgrade .modal-dialog {
    max-width: 900px;
} */

.modal-upgrade .modal-header {
    border-bottom: none;
    padding: 0;
    position: relative;
}

.modal-upgrade .modal-body {
    padding: 0;
}

.modal-upgrade .modal-footer {
    border-top: none;
    padding: 0 1.5rem 1.5rem;
    justify-content: center;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* Modal Layout */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-left {
    padding: 2.5rem;
    background-color: white;
}

.modal-right {
    padding: 2.5rem;
    background-color: var(--secondary);
    max-height: 100vh;
    overflow-y: auto;
}

/* Logo and Badge */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(121, 82, 246, 0.15);
    position: relative;
    border: 2px solid var(--primary-light);
}

.logo img {
    height: auto;
}

.logo-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    padding: 3px 12px;
    font-weight: 600;
    font-size: 12px;
    transform: translate(-50%, 50%);
    box-shadow: 0 4px 10px rgba(121, 82, 246, 0.3);
}

/* Headings */
.modal-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Plan Selector */
.plan-selector {
    background-color: var(--gray-light);
    border-radius: 50px;
    display: flex;
    margin-bottom: 1.5rem;
}

.plan-selector-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.plan-selector-btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(121, 82, 246, 0.3);
}

/* Description */
.plan-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.highlight {
    font-weight: 600;
    color: var(--dark);
}

/* Target Audience */
.target-audience {
    margin-bottom: 2rem;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.audience-tag {
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audience-tag i {
    font-size: 1rem;
}

/* Pricing */
.pricing-section {
    margin-bottom: 2rem;
}

/* Pricing Toggle */
.pricing-toggle-container {
    margin-bottom: 1.5rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pricing-toggle-option {
    font-size: 0.9rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-toggle-option.active {
    color: var(--primary);
    font-weight: 600;
}

.pricing-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.pricing-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-light);
    transition: .4s;
    border-radius: 34px;
}

.pricing-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .pricing-toggle-slider {
    background-color: var(--primary);
}

input:checked + .pricing-toggle-slider:before {
    transform: translateX(26px);
}

.price-savings {
    font-size: 0.9rem;
    color: var(--success);
    font-weight: 500;
    margin-bottom: 1rem;
}

.price-display {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.price-period {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Duration Selector */
.duration-selector {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.duration-option {
    flex: 1;
    background-color: white;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.duration-option:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.duration-option.active {
    border-color: var(--primary);
    background-color: var(--primary-bg);
}

.duration-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.duration-price {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--success);
    color: white;
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Upgrade Button */
.btn-upgrade {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.btn-upgrade:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(121, 82, 246, 0.4);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.payment-method {
    width: 40px;
    height: 25px;
    background-color: var(--light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--gray-dark);
}

/* Features List */
.features-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--primary);
    font-size: 1rem;
}

.feature-content {
    flex: 1;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* Feature categories */
.feature-category {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Plan content containers */
.plan-content {
    display: none;
}

.plan-content.active {
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-right {
        max-height: 400px;
    }
}

@media (max-width: 576px) {

    .modal-left,
    .modal-right {
        padding: 1.5rem;
    }

    .duration-selector {
        flex-direction: column;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .logo img {
        width: 40px;
    }
}
@media (max-width:  768px) {
    .modal__custom--upgrade-ezsharing{
        max-width: 100% !important;
    }
}