/**
 * TUM Subscription Plans Styles
 */

.tum-subscription-plans {
    display: grid;
    gap: 30px;
    margin: 40px 0;
}

.tum-subscription-plans.tum-columns-1 {
    grid-template-columns: 1fr;
}

.tum-subscription-plans.tum-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tum-subscription-plans.tum-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tum-subscription-plans.tum-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Plan Card */
.tum-plan-card {
    position: relative;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.tum-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.tum-plan-card.highlighted {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}

.tum-plan-card.highlighted:hover {
    transform: scale(1.05) translateY(-8px);
}

.tum-plan-card.current-plan {
    border-color: #10b981;
    background: #ecfdf5;
}

/* Badges */
.tum-plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tum-limit-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: normal;
    color: orange;
    margin-bottom: 8px;
}

/* Plan Header */
.tum-plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.tum-plan-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #111827;
}

.tum-plan-card.highlighted .tum-plan-name {
    color: #fff;
}

.tum-plan-price {
    margin-bottom: 15px;
}

.tum-price-amount {
    font-size: 48px;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
}

.tum-plan-card.highlighted .tum-price-amount {
    color: #fff;
}

.tum-price-period {
    font-size: 16px;
    color: #6b7280;
    margin-left: 5px;
}

.tum-plan-card.highlighted .tum-price-period {
    color: rgba(255, 255, 255, 0.8);
}

.tum-plan-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.tum-plan-card.highlighted .tum-plan-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Plan Commission */
.tum-plan-commission {
    margin-top: 12px;
    padding: 8px 12px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.tum-plan-card.highlighted .tum-plan-commission {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.tum-commission-label {
    color: #166534;
    font-weight: 500;
}

.tum-plan-card.highlighted .tum-commission-label {
    color: rgba(255, 255, 255, 0.9);
}

.tum-commission-value {
    color: #15803d;
    font-weight: 600;
    font-size: 14px;
}

.tum-plan-card.highlighted .tum-commission-value {
    color: #ffffff;
}

/* Plan Features */
.tum-plan-features {
    flex: 1;
    margin-bottom: 30px;
}

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

.tum-plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #374151;
}

.tum-plan-card.highlighted .tum-plan-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.tum-plan-features li:last-child {
    border-bottom: none;
}

.tum-plan-features li i {
    color: #10b981;
    margin-right: 12px;
    font-size: 16px;
}

.tum-plan-card.highlighted .tum-plan-features li i {
    color: #fbbf24;
}

/* Plan Footer */
.tum-plan-footer {
    margin-top: auto;
}

.tum-plan-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #3b82f6;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tum-plan-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: #fff;
    text-decoration: none;
}

.tum-plan-card.highlighted .tum-plan-button {
    background: #fff;
    color: #667eea;
}

.tum-plan-card.highlighted .tum-plan-button:hover {
    background: #f3f4f6;
    color: #667eea;
}

.tum-plan-button.current {
    background: #10b981;
    cursor: not-allowed;
    opacity: 0.7;
}

.tum-plan-button.current:hover {
    transform: none;
    box-shadow: none;
}

.tum-plan-button:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.tum-plan-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .tum-subscription-plans.tum-columns-4,
    .tum-subscription-plans.tum-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tum-subscription-plans.tum-columns-4,
    .tum-subscription-plans.tum-columns-3,
    .tum-subscription-plans.tum-columns-2 {
        grid-template-columns: 1fr;
    }

    .tum-plan-card.highlighted {
        transform: scale(1);
    }

    .tum-plan-card.highlighted:hover {
        transform: translateY(-8px);
    }

    .tum-price-amount {
        font-size: 36px;
    }
}


.tum-current-badge{
    text-align: center;
}


