/**
 * PICKEENOO - POINTS PACKAGES CSS FINAL
 * Version: COMPACT + ANIMATION + FIX BUTTON
 * Date: January 12, 2026
 */

/* Container principal */
.compact-points-section {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Header */
.compact-points-section .pricing-header {
    background: linear-gradient(135deg, #BB0031, #FF294A);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.compact-points-section .pricing-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.compact-points-section .pricing-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Content area */
.compact-points-section .pricing-content {
    padding: 40px 25px;
}

/* User package row */
.compact-points-section .user-package-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.compact-points-section .user-package-row:hover {
    border-color: #BB0031;
    box-shadow: 0 10px 25px rgba(187, 0, 49, 0.15);
}

/* User badge */
.compact-points-section .user-badge {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 12px;
    border: 3px solid #BB0031;
}

/* Icon avec animation bounce */
.compact-points-section .user-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.compact-points-section .user-type {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.compact-points-section .user-discount {
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.compact-points-section .user-bonus-info {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Mini cards grid */
.compact-points-section .packages-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Mini package card */
.compact-points-section .mini-package-card {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.compact-points-section .mini-package-card:hover {
    border-color: #BB0031;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(187, 0, 49, 0.2);
}

.compact-points-section .mini-package-card.popular {
    border-color: #FF294A;
    border-width: 3px;
}

/* Popular tag */
.compact-points-section .popular-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, #BB0031, #FF294A);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Package name */
.compact-points-section .package-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

/* Points description */
.compact-points-section .points-description {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.4;
}

.compact-points-section .base-points {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    text-align: center;
    margin-bottom: 3px;
}

/* Total points */
.compact-points-section .total-points {
    font-size: 2.2rem;
    font-weight: bold;
    color: #28a745;
    text-align: center;
    margin-bottom: 5px;
}

/* Bonus highlight */
.compact-points-section .bonus-highlight {
    background: linear-gradient(135deg, #fff5f7, #ffe8ed);
    border: 1px solid #FF294A;
    border-radius: 8px;
    padding: 8px;
    margin: 10px 0;
    text-align: center;
}

.compact-points-section .bonus-text {
    font-size: 0.85rem;
    color: #BB0031;
    font-weight: bold;
}

/* Price tag */
.compact-points-section .price-tag {
    font-size: 1.6rem;
    font-weight: bold;
    color: #BB0031;
    text-align: center;
    margin: 12px 0;
}

/* Buy button - CORRIGÉ */
.compact-points-section .buy-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #BB0031, #FF294A);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
    text-align: center;
}

.compact-points-section .buy-btn:hover {
    background: linear-gradient(135deg, #FF294A, #BB0031);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(187, 0, 49, 0.4);
    color: white !important;
    text-decoration: none !important;
}

/* Force blanc pour tous les états du lien */
.compact-points-section a.buy-btn,
.compact-points-section a.buy-btn:visited,
.compact-points-section a.buy-btn:link,
.compact-points-section a.buy-btn:active {
    color: white !important;
    text-decoration: none !important;
}

.compact-points-section a.buy-btn:hover {
    color: white !important;
    text-decoration: none !important;
}

/* Promo discount badge */
.compact-points-section .promo-discount-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-top: 8px;
    text-align: center;
    font-weight: 600;
}

/* Accordion styles */
.compact-points-section .accordion-wrapper {
    margin-top: 40px;
}

.compact-points-section .accordion-item {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.compact-points-section .accordion-header {
    background: linear-gradient(135deg, #fff5f7, #ffe8ed);
    border-bottom: 2px solid #FF294A;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.compact-points-section .accordion-header:hover {
    background: linear-gradient(135deg, #ffe8ed, #ffd9e0);
}

.compact-points-section .accordion-title {
    color: #BB0031;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

.compact-points-section .accordion-icon {
    font-size: 1.5rem;
    color: #BB0031;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.compact-points-section .accordion-checkbox {
    display: none;
}

.compact-points-section .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8f9fa;
}

.compact-points-section .accordion-content-inner {
    padding: 25px;
}

.compact-points-section .accordion-checkbox:checked ~ .accordion-content {
    max-height: 2000px;
}

.compact-points-section .accordion-checkbox:checked + .accordion-header .accordion-icon {
    transform: rotate(180deg);
}

.compact-points-section .info-section {
    margin-bottom: 20px;
}

.compact-points-section .info-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.compact-points-section .info-section strong {
    color: #BB0031;
}

.compact-points-section .example-calc {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 2px solid #2e7d32;
}

.compact-points-section .example-calc strong {
    color: #1b5e20;
}

.compact-points-section .example-calc p {
    margin: 10px 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .compact-points-section .user-package-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .compact-points-section .packages-mini-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .compact-points-section .pricing-header h1 {
        font-size: 1.8rem;
    }
    .compact-points-section .packages-mini-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .compact-points-section .user-package-row {
        padding: 15px;
    }
    .compact-points-section .user-badge {
        padding: 20px 15px;
    }
    .compact-points-section .accordion-title {
        font-size: 1.1rem;
    }
    .compact-points-section .accordion-header {
        padding: 15px 20px;
    }
}

/* Force box-sizing */
.compact-points-section *,
.compact-points-section *::before,
.compact-points-section *::after {
    box-sizing: border-box;
}
