﻿.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}


.plan-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    min-height: 380px;
}

    .plan-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

    .plan-card .plan-body {
        flex-grow: 1; 
    }

    .plan-card .plan-btn-container {
        margin-top: auto; 
    }

    .plan-card.current {
        border: 2px solid transparent;
        background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) border-box;
        animation: pulse 2s infinite;
        position: relative;
        overflow: hidden;
    }



    .plan-card.classic {
        border: 2px solid #c0c0c0;
    }

    .plan-card.plus {
        border: 2px solid #c0c0c0;
    }

    .plan-card.premium {
        border: 2px solid #c0c0c0;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 17, 203, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(106, 17, 203, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(106, 17, 203, 0);
    }
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: .25rem 0 1rem;
}

.plan-currency {
    font-size: 1.25rem;
    vertical-align: top;
}

.plan-period {
    font-size: 1rem;
    color: #666;
}

.plan-desc {
    font-size: .95rem;
    color: #444;
    margin-bottom: 1rem;
}

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

    .plan-features li {
        position: relative;
        padding-left: 1.8em;
        margin-bottom: .75rem;
        font-size: .95rem;
    }

        .plan-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 0;
            color: #51a6ff;
            font-weight: 700;
        }

.plan-ribbon {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffb74d;
    color: #222;
    padding: .25em .75em;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 4px;
}

.plan-btn {
    border: none;
    border-radius: 8px;
    padding: .75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
}

.plan-btn-primary {
    background: #1fa2f1;
    color: #fff;
}

    .plan-btn-primary:hover {
        background: #3390f4;
    }

.plan-btn-secondary {
    background: #444;
    color: #fff;
}

    .plan-btn-secondary:hover {
        background: #333;
    }

.plan-btn-disabled {
    background: #e0e0e0;
    color: #888;
    cursor: default;
}

.plan-btn-cancel {
    background: transparent;
    color: #555;
    margin-top: 1rem;
}

.plan-content {
    border-radius: 12px;
    overflow: hidden;
}

.plan-header {
    color: black;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-body {
    background: #f9faff;
    padding: 1.5rem;
}

.plan-footer {
    padding: 1rem 1.5rem;
    text-align: right;
    background: #fff;
    border-top: 1px solid #eee;
}

.plan-modal .modal-dialog {
    width: 90vw; 
    max-width: 1200px; 
}


@media (max-width: 768px) {
    .plan-grid {
        grid-template-columns: 1fr;
    }
}

