/* * pricing.css - Styles specific to the pricing page
 * Party Surge Website
 */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Comfortaa', sans-serif;
    background-color: #1F2937; /* bg-gray-800 */
    color: #F3F4F6; /* text-gray-100 */
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex-grow: 1;
}

.footer {
    flex-shrink: 0;
}

.card {
    background-color: #374151; /* bg-gray-700 */
    border-radius: 1rem; /* rounded-2xl */
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Full width on mobile */
    margin-bottom: 2rem; /* mb-8 */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2); /* shadow-lg equivalent */
}

/* Redesigned Accordion Styles */
.card-header {
    background: linear-gradient(135deg, #7C3AED, #3B82F6); /* purple-600 to blue-500 */
    padding: 1rem; /* p-4 */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-header.active {
    background: linear-gradient(135deg, #6D28D9, #2563EB); /* Darker gradient when active */
}

.accordion-icon {
    transition: transform 0.3s ease-in-out;
    color: white; 
}
.accordion-icon.rotate-180 {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0; /* Collapsed state */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.price-highlight {
    color: #F472B6; /* pink-400 */
    font-weight: 700; /* font-bold */
}

.row-alt {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for alt rows */
}

.gradient-bg {
    background: linear-gradient(135deg, #7C3AED, #3B82F6);
}

.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none; 
    transition: all 0.3s ease;
}

.scroll-top.active {
    display: flex;
}

/* Responsive table styles */
.responsive-table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Stacked mobile tables */
@media (max-width: 640px) { /* sm breakpoint */
    .mobile-stacked-table {
        display: block;
        width: 100%;
    }
    
    .mobile-stacked-table thead {
        display: none;
    }
    
    .mobile-stacked-table tbody {
        display: block;
        width: 100%;
    }
    
    .mobile-stacked-table tr {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem; /* mb-4 */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.5rem; /* rounded-lg */
        background-color: #2D3748; 
        padding: 0.5rem; /* p-2 */
    }
    
    .mobile-stacked-table td {
        display: flex;
        width: 100%;
        text-align: right;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem; /* p-3 */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-stacked-table td:last-child {
        border-bottom: none;
    }
    
    .mobile-stacked-table td::before {
        content: attr(data-label);
        font-weight: 600; /* font-semibold */
        text-align: left;
        margin-right: 1rem; /* mr-4 */
    }
}

/* Fluid container */
.fluid-container {
    width: 95%;
    margin: 0 auto;
    padding: 0 1rem; /* px-4 */
}

.text-center {
    padding-top: 1.1rem; 
}

@media (min-width: 640px) { /* sm */
    .fluid-container {
        width: 90%;
        padding: 0 1.5rem; /* px-6 */
    }
}

@media (min-width: 1024px) { /* lg */
    .fluid-container {
        width: 85%;
        max-width: 1200px; 
        padding: 0 2rem; /* px-8 */
    }
}

/* Grid layouts */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) { /* md */
    .responsive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) { /* lg, if you have a three-col grid */
    .responsive-grid-three { 
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile button styles */
.mobile-btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem; /* mb-3 */
}

@media (min-width: 640px) { /* sm */
    .mobile-btn {
        display: inline-block;
        width: auto;
        margin-bottom: 0;
    }
}

/* Item Name Highlight */
.item-name-highlight {
    font-weight: 600; /* font-semibold */
    color: #c4b5fd; /* Tailwind's violet-300. A light lavender for good contrast. */
}

/* Important Notice Styles (Moved from inline) */
.important-notice-mobile {
    display: flex; 
    align-items: flex-start; 
    padding: 0.5rem; /* p-2 */
    margin-top: 0.5rem; /* mt-2 */
    border-radius: 0.375rem; /* rounded-md */
    background-color: #f7d85e; /* bg-yellow-200 */
    border: 1px solid #FDE68A; /* border-yellow-400 */
    color: #92400E; /* text-yellow-800 */
    font-weight: 600; /* font-semibold */
    font-size: 0.75rem; /* text-xs */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.important-notice-mobile i {
    margin-right: 0.25rem; /* mr-1 */
    margin-top: 1px; /* Adjust icon alignment slightly */
    flex-shrink: 0; /* Prevent icon from shrinking */
}
.important-notice-mobile span {
    flex-grow: 1; /* Allow text to take available space and wrap */
}
