/* css/manage-subscriptions.css */

/* Basic styling for sections */
#current-subscriptions-section,
#available-plans-section {
    margin-top: 2rem;
}

/* Styling for individual plan cards (similar to profile.css) */
.plan-card {
    background-color: #ffffff;
    border-radius: 0.75rem; /* Tailwind rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Tailwind shadow-md */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card h3 {
    font-size: 1.5rem; /* Tailwind text-2xl */
    font-weight: 700; /* Tailwind font-bold */
    color: #1a202c; /* Tailwind gray-900 */
    margin-bottom: 0.5rem;
}

.plan-card .price {
    font-size: 2.25rem; /* Tailwind text-4xl */
    font-weight: 800; /* Tailwind font-extrabold */
    color: #2563eb; /* Tailwind blue-600 */
    margin-bottom: 1rem;
}

.plan-card .features li {
    margin-bottom: 0.5rem;
    color: #4a5568; /* Tailwind gray-700 */
}

.plan-card .btn-primary {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #2563eb; /* Tailwind blue-600 */
    color: #ffffff;
    font-weight: 600; /* Tailwind font-semibold */
    border-radius: 0.5rem; /* Tailwind rounded-lg */
    text-align: center;
    transition: background-color 0.3s ease;
}

.plan-card .btn-primary:hover {
    background-color: #1d4ed8; /* Tailwind blue-700 */
}

/* Modal Overlay (copied from profile.css) */
.plan-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.floating-card {
    background-color: #ffffff;
    border-radius: 1rem; /* Tailwind rounded-2xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* Tailwind shadow-2xl */
    position: relative;
    max-height: 95vh; /* Increased height for scrollability */
    overflow-y: auto; /* Enable scrolling for long forms */
    width: auto;
}

/* Fix scrollbar edge rounding */
.floating-card::-webkit-scrollbar {
    width: 12px;
}

.floating-card::-webkit-scrollbar-track {
    background: transparent;
}

.floating-card::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0; /* Remove rounding */
    border: none;
}

.floating-card::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* For Firefox */
.floating-card {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Footer container padding fix for mobile devices */
.site-footer .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .site-footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ========================================= */
/* Mixed Status Combo Plan Styling */
/* ========================================= */

/* Mixed status gradient text styling */
.text-purple-600 {
    color: #9333ea !important;
}


.text-green-600 {
    color: #059669 !important;
    font-weight: 600;
}

.text-blue-600 {
    color: #2563eb !important;
    font-weight: 600;
}

/* Swimming and gym icons styling */
.fa-swimmer {
    color: #0ea5e9 !important;
}

.fa-dumbbell {
    color: #ea580c !important;
}

/* Animation for mixed status elements */
@keyframes mixedStatusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.1);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
    }
}
