﻿/* --- PRODUCT ITEM STYLING --- */

.pricing-item {
    padding-bottom: 10px; /* Tạo khoảng trống cho shadow khi hover */
}

/* Wrapper chính */
.pricing-card-wrapper {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Bóng mờ nhẹ */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    /* Hiệu ứng nổi lên khi di chuột */
    .pricing-card-wrapper:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 70, 186, 0.15); /* Bóng màu xanh */
        border-color: rgba(0, 70, 186, 0.3);
    }

/* 1. Ribbon (Dải ruy băng góc) */
.discount-ribbon {
    position: absolute;
    top: 15px;
    right: -32px;
    background: #ff3b30; /* Màu đỏ nổi bật */
    color: #fff;
    transform: rotate(45deg);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 2. Header */
.pricing-header {
    background: linear-gradient(135deg, var(--primary-color, #0046ba) 0%, #0056d6 100%);
    padding: 25px 20px;
    text-align: center;
    color: #fff;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.product-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 300;
}

/* 3. Body & Price */
.pricing-body {
    padding: 25px 20px;
    flex-grow: 1; /* Đẩy footer xuống đáy */
    display: flex;
    flex-direction: column;
}

.price-block {
    text-align: center;
    margin-bottom: 15px;
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.95rem;
}

.save-badge {
    display: inline-block;
    background-color: #e6f4ea;
    color: #1e7e34;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 5px;
}

.price-final {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

    .price-final small {
        font-size: 1rem;
        vertical-align: top;
        margin-left: 2px;
    }

.price-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.divider {
    border-top: 1px dashed #e0e0e0;
    margin: 15px 0 20px;
    opacity: 1;
}

/* Features List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: #555;
    }

.icon-check {
    color: #28a745; /* Màu xanh lá */
    margin-top: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* 4. Footer */
.pricing-footer {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

.btn-register-now {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    background: #fff;
    color: var(--primary-color, #0046ba);
    border: 2px solid var(--primary-color, #0046ba);
    transition: all 0.3s;
}

.pricing-card-wrapper:hover .btn-register-now {
    background: var(--primary-color, #0046ba);
    color: #fff;
}

.voucher-info {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #d63384; /* Màu hồng đậm cho voucher */
    font-weight: 600;
}
