/* Amore Dance Studio - Modern Styling */

:root {
    /* Brand Colors - Based on Amore Logo */
    --amore-pink: #fea8b7;          /* Soft Pink */
    --amore-pink-dark: #f38599;     /* Darker Pink for hover */
    --amore-pink-light: #ffc4cf;    /* Lighter Pink for backgrounds */
    --amore-purple: #b366b3;        /* Softer Purple */
    --amore-purple-dark: #9955a1;   /* Darker Purple for hover */
    --amore-black: #1a1a1a;         /* Rich Black */
    --amore-white: #ffffff;         /* Pure White */
    --amore-gray: #f8f9fa;          /* Light Gray */
    --amore-accent: #fea8b7;        /* Soft Pink Accent */
    --amore-gradient: linear-gradient(135deg, var(--amore-pink), var(--amore-purple));
    --amore-shadow: 0 10px 30px rgba(254, 168, 183, 0.3);
    
    /* Consistent Border Radius Values */
    --amore-radius-sm: 0.75rem;     /* Small radius for cards, buttons */
    --amore-radius-md: 1.5rem;      /* Medium radius for sections, containers */
    --amore-radius-lg: 2rem;        /* Large radius for hero sections, major blocks */
}

/* Common Rounded Components Classes */
.amore-card {
    border-radius: var(--amore-radius-sm);
    background: var(--amore-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.amore-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.amore-hero {
    border-radius: var(--amore-radius-lg);
    background: var(--amore-gradient);
    color: var(--amore-white);
    box-shadow: var(--amore-shadow);
    margin: 1.25rem;
    text-align: center;
    min-height: 60vh;
    padding: 4.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.amore-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.amore-hero .container {
    position: relative;
    z-index: 2;
}

.amore-hero.hero-home {
    min-height: 75vh;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.amore-hero.hero-home h1 {
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}

.amore-hero.hero-home p.lead {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .amore-hero {
        min-height: 55vh;
        padding: 4rem 1.25rem;
    }

    .amore-hero.hero-home h1 {
        font-size: clamp(2.125rem, 4vw, 2.5rem);
        line-height: 1.2;
    }

    .amore-hero.hero-home p.lead {
        font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    }
}

@media (max-width: 576px) {
    .amore-hero {
        margin: 1rem;
        min-height: unset;
        padding: 3.5rem 1rem;
    }

    .amore-hero.hero-home {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .amore-hero.hero-home h1 {
        font-size: clamp(1.9rem, 9vw, 2.2rem);
        line-height: 1.25;
    }

    .amore-hero.hero-home p.lead {
        font-size: clamp(1rem, 4.2vw, 1.1rem);
        line-height: 1.55;
    }

    .amore-hero.hero-home .btn {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }

    .amore-hero.hero-home .btn + .btn {
        margin-left: 0 !important;
    }
}

/* Enhanced Image Styling */
.amore-image {
    border-radius: var(--amore-radius-sm);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.amore-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.amore-image-lg {
    border-radius: var(--amore-radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.amore-image-lg:hover {
    transform: scale(1.02);
    box-shadow: var(--amore-shadow);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--amore-white);
    color: var(--amore-black);
    line-height: 1.6;
}

/* Inline consent checkbox helpers */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-left: 0;
    text-align: left;
}

.consent-checkbox .form-check-input {
    margin: 0.2rem 0 0 0;
    flex-shrink: 0;
}

.consent-checkbox .form-check-label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.consent-checkbox-error {
    display: block;
    margin-left: calc(1.25rem + 0.75rem);
}

/* Navigation Styling */
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--amore-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dark {
    background: var(--amore-gradient) !important;
    box-shadow: var(--amore-shadow);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    color: white !important;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0.25rem;
    left: 50%;
    background: white;
    transition: width 0.3s ease;
    transform: translateX(-50%);
    pointer-events: none;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.nav-link.active::after {
    width: 80%;
    background: white;
}

/* Buttons */
.btn-primary {
    background: var(--amore-gradient);
    border: none;
    border-radius: var(--amore-radius-sm);
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--amore-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(254, 168, 183, 0.5);
    background: linear-gradient(135deg, var(--amore-pink-dark), var(--amore-purple-dark));
}

.btn-outline-primary {
    border: 2px solid var(--amore-pink);
    color: var(--amore-pink);
    border-radius: var(--amore-radius-sm);
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--amore-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--amore-shadow);
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--amore-shadow);
}

.card-header {
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Class Cards */
.class-card {
    position: relative;
    background: white;
    border-radius: var(--amore-radius-md);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Class Card Content Styles */
.class-card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    transition: all 0.3s ease;
    width: 80%;
}

.class-card:hover .class-card-content {
    transform: translate(-50%, -70%);
}

.class-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: white;
}

.class-overlay {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.class-card:hover .class-overlay {
    opacity: 1;
    transform: translateY(0);
}

.class-btn {
    background: var(--amore-gradient);
    border: none;
    padding: 12px 25px;
    border-radius: var(--amore-radius-sm);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 15px rgba(254, 168, 183, 0.4);
    transition: all 0.3s ease;
    color: white;
}

.class-btn:hover {
    background: linear-gradient(135deg, var(--amore-pink-dark), var(--amore-purple-dark));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(254, 168, 183, 0.6);
    color: white;
}

/* Teacher Cards */
.teacher-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: none !important;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.25) !important;
}

.teacher-card .card-img-top {
    transition: transform 0.3s ease;
    height: 300px;
    object-fit: cover;
}

.teacher-card:hover .card-img-top {
    transform: scale(1.05);
}

.teacher-card .card-body {
    padding: 1.5rem;
}

.teacher-card .card-title {
    color: var(--amore-black);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.teacher-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 30px auto 20px;
    border: 4px solid var(--amore-pink);
    overflow: hidden;
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-image {
    border-color: var(--amore-purple);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--amore-black) 0%, var(--amore-purple) 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--amore-pink);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--amore-pink);
    padding-bottom: 8px;
    display: inline-block;
}

/* Enhanced footer section separation */
.footer .col-md-4 {
    position: relative;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer .col-md-4:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--amore-pink), transparent);
}

/* Clear link styling - make links obviously clickable */
.footer a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
}

.footer a:hover {
    color: white;
    background: rgba(255, 20, 147, 0.2);
    border-left: 3px solid var(--amore-pink);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.3);
}

/* Navigation links styling */
.footer .list-unstyled li {
    margin-bottom: 8px;
}

.footer .list-unstyled a {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Contact info - distinguish from links */
.footer p {
    background: none !important;
    border: none !important;
    padding: 2px 0 !important;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.footer p:hover {
    transform: none !important;
    box-shadow: none !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--amore-gradient);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: white !important;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.2);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--amore-shadow);
    color: white !important;
}

/* Add more space after social media icons */
.social-links {
    margin-bottom: 2rem;
}

/* Footer context - maintain white text on dark background */
.footer .social-links a {
    color: white !important;
}

.footer .social-links a:hover {
    color: white !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Language Dropdown Styling */
.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.dropdown-menu {
    background: var(--amore-white);
    border: none;
    border-radius: var(--amore-radius-sm);
    box-shadow: var(--amore-shadow);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--amore-black);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--amore-gradient);
    color: var(--amore-white);
}

.dropdown-item.active {
    background: var(--amore-gradient);
    color: var(--amore-white);
    font-weight: 600;
}

.dropdown-item i {
    width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .amore-hero {
        margin: 0.5rem;
        height: 35vh; /* balanced for mobile */
    }
    
    .amore-hero.hero-home {
        height: auto; /* Allow flexible height for content */
        min-height: 70vh; /* Minimum height */
        margin: 0;
        padding: 3rem 0; /* Add padding for breathing room */
    }
    
    .class-card {
        height: 280px;
        margin-bottom: 20px;
    }
    
    .class-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    /* Mobile footer improvements */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Remove desktop separators and add mobile spacing */
    .footer .col-md-4::after {
        display: none;
    }
    
    .footer .col-md-4 {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 2.5rem;
        text-align: center;
        
        /* Add mobile section separators */
        border-bottom: 1px solid rgba(255, 20, 147, 0.3);
        padding-bottom: 2rem;
    }
    
    .footer .col-md-4:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* Mobile header styling */
    .footer h5 {
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 2px solid var(--amore-pink);
        padding-bottom: 10px;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile links styling - keep visual distinction */
    .footer a {
        margin: 2px 0;
        padding: 8px 12px;
        border-radius: 6px;
        display: inline-block;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 20, 147, 0.2);
    }
    
    .footer a:hover {
        background: rgba(255, 20, 147, 0.25);
        border: 1px solid var(--amore-pink);
        transform: none; /* Remove translateX on mobile */
    }
    
    /* Mobile navigation links */
    .footer .list-unstyled {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    /* Mobile contact info styling */
    .footer p {
        font-size: 0.95rem;
        margin-bottom: 8px;
        padding: 4px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .footer .bi {
        margin-right: 8px;
        flex-shrink: 0;
        color: var(--amore-pink);
    }
    
    /* Mobile social links */
    .footer .social-links {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .footer .social-links a {
        margin-right: 0;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .footer .col-md-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .footer a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

/* ============================================
   BOOTSTRAP ICONS - CENTRALIZED THEMING
   ============================================ */

/* Default icon color - use theme primary */
.bi {
    color: var(--amore-pink);
}

/* Icon-specific color overrides for semantic meaning */
.bi-check-circle {
    color: #28a745 !important; /* Success green */
}

.bi-x-circle,
.bi-calendar-x {
    color: #dc3545 !important; /* Danger red */
}

.bi-heart,
.bi-heart-fill {
    color: #dc3545 !important; /* Heart red */
}

/* Social media icons - keep white when in footer/dark backgrounds */
.text-light .bi,
.text-white .bi,
.footer .bi {
    color: inherit !important;
}

/* Large decorative icons */
.bi[style*="font-size: 3rem"] {
    color: var(--amore-pink) !important;
}

/* Navigation and interactive icons */
.bi-chevron-left,
.bi-chevron-right {
    color: var(--amore-pink);
}

/* Calendar and schedule icons */
.bi-calendar-day,
.bi-calendar3,
.bi-calendar-check,
.bi-clock {
    color: var(--amore-pink);
}

/* Contact and info icons */
.bi-geo-alt,
.bi-telephone,
.bi-envelope {
    color: var(--amore-pink);
}

/* Button icons - inherit button styling */
.btn .bi {
    color: inherit !important;
}

/* Override Bootstrap's default icon colors when used with text-primary */
.text-primary .bi {
    color: var(--amore-pink) !important;
}

/* Icon spacing consistency */
.bi.me-2 {
    margin-right: 0.5rem !important;
}

/* Icon hover effects for interactive elements */
a:hover .bi,
.btn:hover .bi {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Special case: preserve specific color intentions */
.bi-music-note.text-warning {
    color: #ffc107 !important;
}

.bi-palette.text-info {
    color: #0dcaf0 !important;
}

.bi-award.text-secondary {
    color: #6c757d !important;
}

/* ============================================
   SCHEDULE CARDS ENHANCEMENT
   ============================================ */

.schedule-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: rgba(255, 20, 147, 0.05);
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin: 0 -0.5rem;
}

/* Enhanced card shadows and hover effects */
.card.shadow-sm {
    transition: all 0.3s ease;
}

.card.shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.2) !important;
}

/* Feature cards - used on About page */
.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Badge enhancements */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Carousel controls theming */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--amore-pink);
    border-radius: 50%;
    padding: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Profile Page Styling */
.profile-tabs .nav-link {
    border-radius: 0.5rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.5rem;
    border: none;
    background: transparent;
}

.profile-tabs .nav-link:hover {
    background-color: #f8f9fa;
    color: var(--amore-purple);
}

.profile-tabs .nav-link.active {
    background: var(--amore-gradient);
    color: white;
    box-shadow: 0 4px 8px rgba(255, 20, 147, 0.3);
}

.profile-picture-container {
    transition: all 0.3s ease;
}

.profile-picture-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-picture-container:hover .profile-picture-overlay {
    opacity: 1;
}

.form-control-plaintext {
    color: #495057;
    font-weight: 500;
}

.tab-pane {
    min-height: 400px;
}

/* History Section */
#history-month-select {
    max-width: 200px;
}

/* Membership Section */
.membership-icon {
    opacity: 0.6;
}

/* Membership Cards - Pricing Page */
.membership-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 1rem; /* Add space for popular labels */
}

.membership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(254, 168, 183, 0.25);
    border-color: var(--amore-pink);
}

.membership-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.membership-card .feature-list {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.membership-card .btn {
    margin-top: auto;
}

/* Popular Card Styling */
.membership-card.popular {
    border: 2px solid var(--amore-pink);
    background: linear-gradient(135deg, rgba(254, 168, 183, 0.05), rgba(179, 102, 179, 0.05));
    position: relative;
    overflow: hidden; /* Hide parts of ribbon that go outside */
}

.membership-card.popular::before {
    content: "POPULAR";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--amore-gradient);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    transform-origin: center;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(254, 168, 183, 0.5);
    z-index: 10;
    white-space: nowrap;
}

.membership-card.popular .card-body {
    padding-top: 1.5rem !important; /* Normal padding since ribbon doesn't interfere */
}

.membership-card.popular:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(254, 168, 183, 0.3);
}

/* Discount Card Styling */
.membership-card.has-discount {
    position: relative;
    border: 2px solid var(--amore-pink);
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.05), rgba(139, 0, 139, 0.05));
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.2);
}

.discount-ribbon {
    position: absolute;
    top: 15px;
    left: -35px;
    background: linear-gradient(135deg, var(--amore-pink), var(--amore-purple));
    color: white;
    padding: 8px 45px;
    transform: rotate(-45deg);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.6);
    z-index: 10;
    white-space: nowrap;
    text-transform: uppercase;
}

.discount-ribbon i {
    margin-right: 4px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.membership-card.has-discount:hover {
    border-color: var(--amore-purple);
    box-shadow: 0 20px 40px rgba(254, 168, 183, 0.4);
    transform: translateY(-10px);
}

.membership-card.has-discount .discount-price {
    background: var(--amore-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.membership-card.has-discount .discount-currency {
    color: var(--amore-pink);
    font-weight: bold;
}

.discount-deadline {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(139, 0, 139, 0.1));
    border: 2px dashed var(--amore-pink);
    border-radius: var(--amore-radius-sm);
    padding: 12px 16px;
    color: var(--amore-purple);
    font-size: 0.95rem;
    font-weight: 600;
    animation: urgentPulse 2s infinite;
}

.discount-deadline i {
    color: var(--amore-pink);
    margin-right: 6px;
    font-size: 1.1rem;
}

.discount-deadline strong {
    color: var(--amore-pink);
}

@keyframes urgentPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 20, 147, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(255, 20, 147, 0);
    }
}

/* Button Styling */
.btn-amore {
    background: var(--amore-gradient);
    border: none;
    border-radius: var(--amore-radius-sm);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(254, 168, 183, 0.3);
}

.btn-amore:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 168, 183, 0.5);
    color: white;
    background: linear-gradient(135deg, var(--amore-pink-dark), var(--amore-purple-dark));
}

.btn-amore:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(254, 168, 183, 0.4);
}

/* Secondary Button Variant - Same gradient as primary */
.btn-amore-secondary {
    background: var(--amore-gradient);
    border: none;
    border-radius: var(--amore-radius-sm);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(254, 168, 183, 0.3);
}

.btn-amore-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 168, 183, 0.5);
    color: white;
    background: linear-gradient(135deg, var(--amore-pink-dark), var(--amore-purple-dark));
}

.btn-amore-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

/* Danger Button Variant - For cancel/delete actions */
.btn-amore-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    border-radius: var(--amore-radius-sm);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-amore-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.5);
    color: white;
    background: linear-gradient(135deg, #c82333, #bd2130);
}

.btn-amore-danger:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* Outline Button Variant - For secondary actions */
.btn-amore-outline {
    background: white;
    border: 2px solid var(--amore-pink);
    border-radius: var(--amore-radius-sm);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: var(--amore-pink);
}

.btn-amore-outline:hover {
    background: linear-gradient(135deg, var(--amore-pink-dark), var(--amore-purple-dark));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 168, 183, 0.5);
}

.btn-amore-outline:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(254, 168, 183, 0.4);
}

.btn-outline-primary:active,
.btn-outline-primary:focus {
    background: var(--amore-gradient) !important;
    border-color: transparent !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(254, 168, 183, 0.4) !important;
    color: white !important;
}

.btn-outline-primary:focus-visible {
    outline: 2px solid var(--amore-pink);
    outline-offset: 2px;
}

/* Price Display Styling */
.price-display {
    margin: 1.5rem 0;
}

.price-display .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--amore-pink) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.price-display .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--amore-purple);
    margin-left: 0.5rem;
}

/* Validity Badge */
.validity-badge {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(139, 0, 139, 0.1));
    border: 1px solid var(--amore-pink);
    border-radius: var(--amore-radius-sm);
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amore-purple);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--amore-black);
}

.feature-list .bi-check-circle {
    color: var(--amore-pink);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Fix popular card feature list text */
.membership-card.popular .feature-list li {
    font-weight: 500 !important; /* Ensure consistent font weight */
    color: var(--amore-black) !important;
}

/* Modern form styling */
.form-control:focus {
    border-color: var(--amore-pink);
    box-shadow: 0 0 0 0.2rem rgba(255, 20, 147, 0.25);
}

.form-select:focus {
    border-color: var(--amore-pink);
    box-shadow: 0 0 0 0.2rem rgba(255, 20, 147, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-picture-container {
        margin-bottom: 1rem;
    }
    
    .col-sm-3 {
        margin-bottom: 0.5rem;
    }
    
    #history-month-select {
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* ===================================
   Pagination Styling (Global)
   =================================== */

.pagination {
    margin-bottom: 0.5rem;
}

.pagination .page-link {
    color: var(--amore-pink);
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, var(--amore-pink) 0%, var(--amore-purple) 100%);
    color: white;
    border-color: var(--amore-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--amore-pink) 0%, var(--amore-purple) 100%);
    border-color: var(--amore-pink);
    color: white;
    font-weight: 600;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 20, 147, 0.25);
    outline: none;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

/* ===================================
   Cancelled Class Styling
   =================================== */

/* Cancelled Class Styling - Consistent across all sections */
.cancelled-class {
    position: relative;
    opacity: 0.75 !important;
    background: repeating-linear-gradient(
        -45deg,
        #f8f9fa,
        #f8f9fa 10px,
        #e9ecef 10px,
        #e9ecef 20px
    ) !important;
    border: 1px solid #dc3545 !important;
    cursor: not-allowed !important;
}

.cancelled-class::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.03);
    pointer-events: none;
    border-radius: inherit;
}

/* Cancelled badge styling - default (for tables and lists) */
.cancelled-badge {
    background-color: #dc3545 !important;
    color: white !important;
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Cancelled badge positioning - only for calendar cards */
.class-slot .cancelled-badge {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 10;
}
