/* Pricing Plans Styles */

/* Plan Button Shortcode */
.skd-plan-button-wrapper {
    margin: 0;
    text-align: center;
}

.skd-plan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border-width: 2px !important;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
    width: 100%;
}

.skd-plan-button.premium {
    background: var(--e-global-color-primary);
    color: white;
    border-color: var(--e-global-color-primary);
}

.skd-plan-button.premium:hover {
    background: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    transform: translateY(-2px);
}

.skd-plan-button.featured {
    background: var(--e-global-color-primary);
    color: white;
    border-color: var(--e-global-color-primary);
}

.skd-plan-button.featured:hover {
    transform: translateY(-2px);
}

.skd-plan-button.free {
    background: #fff;
    color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
}

.skd-plan-button.free:hover {
    transform: translateY(-2px);
}

.skd-plan-button.active,
.skd-plan-button.disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    border-color: #ccc;
}

.skd-plan-button.active:hover,
.skd-plan-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

.skd-plan-button .button-icon {
    font-size: 18px;
    font-weight: 700;
}

.skd-plan-button .button-badge {
    position: absolute;
    top: -16px;
    right: 0px;
    background: #ff9800;
    color: white;
    padding: 1px 6px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.skd-plan-button-wrapper .plan-status {
    margin-top: 10px;
    font-size: 13px;
    color: var(--e-global-color-text);
    font-style: italic;
}

/* Billing Toggle */
.skd-pricing-table .billing-toggle {
    text-align: center;
    margin-bottom: 40px;
}

.skd-pricing-table .billing-toggle .toggle-btn {
    padding: 12px 30px;
    margin: 0 5px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skd-pricing-table .billing-toggle .toggle-btn:hover {
    background: #e8e8e8;
}

.skd-pricing-table .billing-toggle .toggle-btn.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.skd-pricing-table .billing-toggle .save-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 5px;
}

/* Pricing Plans Grid */
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Individual Plan Card */
.skd-pricing-plan {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skd-pricing-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skd-pricing-plan.featured {
    border-color: #4CAF50;
    border-width: 3px;
    transform: scale(1.05);
}

.skd-pricing-plan.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Plan Badge */
.skd-pricing-plan .plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Plan Header */
.skd-pricing-plan .plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.skd-pricing-plan .plan-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #333;
}

.skd-pricing-plan .plan-description {
    font-size: 14px;
    color: var(--e-global-color-text);
    margin: 0;
    line-height: 1.5;
}

/* Plan Pricing */
.skd-pricing-plan .plan-pricing {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.skd-pricing-plan .price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
}

.skd-pricing-plan .price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--e-global-color-text);
    margin-right: 2px;
    margin-top: 8px;
}

.skd-pricing-plan .price .amount {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.skd-pricing-plan .price .period {
    font-size: 16px;
    color: #888;
    margin-left: 5px;
    margin-top: 20px;
}

.skd-pricing-plan .savings {
    font-size: 14px;
    color: #ff9800;
    margin: 10px 0;
    font-weight: 600;
}

.skd-pricing-plan .savings .discount-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 5px;
}

.skd-pricing-plan .trial-info {
    font-size: 14px;
    color: #4CAF50;
    margin: 5px 0 0;
    font-weight: 600;
}

/* Plan Features */
.skd-pricing-plan .plan-features {
    margin-bottom: 30px;
}

.skd-pricing-plan .plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skd-pricing-plan .plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.skd-pricing-plan .plan-features li:last-child {
    border-bottom: none;
}

.skd-pricing-plan .plan-features li .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.skd-pricing-plan .plan-features li.available .icon {
    color: #4CAF50;
}

.skd-pricing-plan .plan-features li.unavailable .icon {
    color: #ccc;
}

.skd-pricing-plan .plan-features li.unavailable .text {
    color: #999;
    text-decoration: line-through;
}

.skd-pricing-plan .plan-features li .text {
    flex: 1;
    color: #555;
}

.skd-pricing-plan .plan-features li .limit {
    font-size: 12px;
    color: #888;
    margin-left: 5px;
}

/* Plan Action */
.skd-pricing-plan .plan-action {
    text-align: center;
}

.skd-pricing-plan .btn-plan {
    display: inline-block;
    width: 100%;
    padding: 14px 30px;
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skd-pricing-plan .btn-plan:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.skd-pricing-plan .btn-plan.btn-primary {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.skd-pricing-plan .btn-plan.btn-primary:hover {
    background: #45a049;
    border-color: #45a049;
}

.skd-pricing-plan .btn-plan.btn-disabled,
.skd-pricing-plan .btn-plan:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    border-color: #ccc;
}

.skd-pricing-plan .btn-plan.btn-disabled:hover,
.skd-pricing-plan .btn-plan:disabled:hover {
    transform: none;
    background: #e0e0e0;
}

.skd-pricing-plan .btn-plan .button-icon {
    font-size: 18px;
    font-weight: 700;
    margin-right: 5px;
}

.skd-pricing-plan .btn-plan .button-badge {
    position: absolute;
    top: -8px;
    right: 20px;
    background: #ff9800;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.skd-pricing-plan .plan-action {
    position: relative;
}

.skd-pricing-plan.featured .btn-plan.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Compact Style */
.skd-pricing-plan.compact {
    padding: 20px;
}

.skd-pricing-plan.compact .plan-name {
    font-size: 20px;
}

.skd-pricing-plan.compact .price .amount {
    font-size: 36px;
}

.skd-pricing-plan.compact .plan-features li {
    padding: 8px 0;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 767px) {
    .pricing-plans-grid {
        grid-template-columns: 1fr;
    }

    .skd-pricing-plan.featured {
        transform: none;
    }

    .skd-pricing-plan.featured:hover {
        transform: translateY(-5px);
    }

    .skd-pricing-plan .price .amount {
        font-size: 40px;
    }
}