/* --- MAYNSTAGE.AI - UPDATED DESIGN SYSTEM --- */

:root {
    /* Rich, Darker Pink */
    --primary: #B81466; 
    /* A deep Midnight Navy to pair with the dark pink for elegance */
    --secondary: #1E1E45; 
    --dark: #0a0a0a;
    --font-head: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Updated gradient to use the darker, richer tones */
    --grad: linear-gradient(90deg, #B81466, #4A00E0);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background: #fff; color: var(--dark); overflow-x: hidden; }

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; background: #fff; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    height: 80px;
}

.logo a { 
    font-family: var(--font-head); font-size: 2.2rem; 
    text-decoration: none; color: var(--dark); letter-spacing: 1px;
}
.logo span { color: var(--primary); }

/* Navigation */
.nav-links { display: flex; height: 100%; }
.dropdown { position: relative; display: flex; align-items: center; }

.dropbtn {
    background: none; border: none; font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 700; padding: 0 20px;
    height: 100%; text-transform: uppercase; cursor: pointer; color: #444;
    transition: 0.2s;
}
.dropbtn:hover { color: var(--primary); }

/* Dropdown Content */
.dropdown-content {
    display: none; position: absolute; background: #fff;
    top: 100%; left: 0; min-width: 200px; padding: 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
    border-radius: 0 0 12px 12px;
    border-top: 3px solid var(--primary);
    z-index: 1100;
}

.dropdown:nth-child(3) .dropdown-content,
.dropdown:nth-child(4) .dropdown-content { left: auto; right: 0; }

.dropdown:hover .dropdown-content { display: block; }
.content-grid { display: grid; grid-template-columns: repeat(0, 1fr); gap: 15px; }

.content-grid a { 
    text-decoration: none; color: #666; font-size: 0.9rem; 
    padding: 5px 0; transition: 0.2s; font-weight: 400;
}
.content-grid a:hover { color: var(--primary); padding-left: 5px; }

/* Auth Buttons */
.auth-buttons { display: flex; gap: 20px; align-items: center; }
.login { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }
.register-btn {
    background: var(--grad); color: #fff; padding: 10px 22px;
    text-decoration: none; font-weight: 800; border-radius: 4px;
    font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 1px;
    transition: 0.3s;
}
.register-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 92, 141, 0.3); }

/* Hero Section */
.hero {
    height: 85vh; position: relative; display: flex; align-items: center; justify-content: center;
    background: url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?q=80&w=2070') center/cover no-repeat;
    color: #fff; text-align: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}
.hero-content { position: relative; z-index: 5; width: 90%; max-width: 1100px; }
.hero-content h1 { 
    font-family: var(--font-head); font-size: 6.5rem; line-height: 0.85; margin-bottom: 15px;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 1.4rem; font-weight: 300; margin-bottom: 50px; opacity: 0.9; }

/* Search Container */
.search-container {
    background: #fff; padding: 10px; border-radius: 100px;
    display: flex; align-items: center; box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    max-width: 950px; margin: 0 auto;
}
.search-input-group {
    flex: 1; padding: 10px 25px; text-align: left; border-right: 1px solid #eee;
}
.search-input-group:last-of-type { border-right: none; }
.search-input-group label { 
    display: block; font-family: var(--font-head); color: var(--secondary); 
    font-size: 0.9rem; letter-spacing: 1px;
}
.search-input-group input {
    width: 100%; border: none; outline: none; font-family: var(--font-body);
    font-size: 1rem; font-weight: 600; color: #111; background: transparent;
}
.hero-search-btn {
    background: var(--dark); color: #fff; border: none;
    font-family: var(--font-head); font-size: 1.5rem; padding: 15px 45px;
    border-radius: 100px; cursor: pointer; transition: 0.3s;
    letter-spacing: 1px; margin-left: 10px;
}
.hero-search-btn:hover { background: var(--primary); }

.how-it-works { padding: 100px 5%; background: #ffffff; }
.how-it-works h2 { 
    font-family: var(--font-head); font-size: 5rem; 
    color: var(--dark); margin-bottom: 10px; 
}
.subtitle { font-family: var(--font-body); font-size: 1.2rem; color: #666; margin-bottom: 60px; }

.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { 
    padding: 50px; border-radius: 12px;
    border: 2px solid #f4f4f4;
    transition: 0.4s ease;
}
.card:hover { border-color: var(--primary); box-shadow: 0 20px 40px rgba(184, 20, 102, 0.08); }

.card h3 { 
    font-family: var(--font-head); font-size: 2.5rem; 
    margin-bottom: 30px; color: var(--dark);
}

.step { 
    display: flex; gap: 20px; margin-bottom: 25px;
    font-family: var(--font-body); text-align: left;
    line-height: 1.6;
}
.step span { 
    font-family: var(--font-head); font-size: 1.5rem; 
    color: var(--primary); min-width: 30px;
}
.step strong { display: block; color: var(--dark); font-size: 1.1rem; }

.btn-card {
    display: inline-block; margin-top: 30px; padding: 15px 40px;
    background: var(--dark); color: #fff; text-decoration: none;
    font-family: var(--font-head); font-size: 1.2rem; 
    border-radius: 4px; transition: 0.3s;
}
.btn-card:hover { background: var(--primary); transform: translateY(-3px); }

/* .btn-card-white {
    display: inline-block; margin-top: 30px; padding: 15px 40px;
    color: #000000; text-decoration: none; 
    font-family: var(--font-head); font-size: 1.2rem; 
    border-radius: 4px; transition: 0.3s; border: 2px solid #000000 !important; /* Start with 2px to see if it works, then increase */
    cursor: pointer;
}
.btn-card-white:hover { background: var(--primary); transform: translateY(-3px); border: none; }
*/
@media (max-width: 900px) {
    .cards-grid { grid-template-columns: 1fr; }
}

.featured-spotlight { padding: 80px 5%; background: #f9f9f9; }

.featured-spotlight h2 { 
    font-family: var(--font-head); font-size: 3.5rem; margin-bottom: 10px;
}
.featured-spotlight h2 span { color: var(--primary); }

.spotlight-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px;
}

.spotlight-card { 
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.3s;
}
.spotlight-card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(0,0,0,0.1); }

.spotlight-card img { width: 100%; height: 220px; object-fit: cover; }

.card-info { padding: 20px; }
.card-info h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 5px; }
.role { font-family: var(--font-body); color: var(--primary); font-weight: 600; margin-bottom: 10px; }

.rating { font-family: var(--font-body); font-size: 0.9rem; color: #f59e0b; margin-bottom: 15px; }

.book-now { 
    display: block; font-family: var(--font-head); color: var(--dark); 
    text-decoration: none; font-size: 1.1rem; border-top: 1px solid #eee; pt: 15px;
}
.book-now:hover { color: var(--primary); }

@media (max-width: 1024px) { .spotlight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .spotlight-grid { grid-template-columns: 1fr; } }

.workflow-section { padding: 80px 5%; text-align: center; }

.toggle-container { 
    background: #f1f1f1; display: inline-flex; 
    padding: 5px; border-radius: 50px; margin-bottom: 50px; 
}
.toggle-btn { 
    padding: 12px 30px; border: none; border-radius: 50px;
    cursor: pointer; font-family: var(--font-head); font-size: 1.1rem;
    transition: 0.3s; background: transparent;
}
.toggle-btn.active { background: var(--primary); color: #fff; }

.steps-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; 
}

.step-card { padding: 20px; }
.step-number { 
    font-family: var(--font-head); font-size: 3rem; 
    color: var(--primary); margin-bottom: 10px; 
}
.step-card h4 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 10px; }
.step-card p { font-family: var(--font-body); font-size: 0.95rem; color: #666; }

.testimonials { padding: 100px 5%; background: #fff; }

.testimonials h2 { 
    font-family: var(--font-head); font-size: 3.5rem; 
    margin-bottom: 10px; text-align: center;
}
.testimonials h2 span { color: var(--primary); }

.testimonial-grid { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; 
}

.testimonial-card { 
    padding: 40px; background: #f9f9f9; border-radius: 12px;
    border-left: 5px solid var(--primary); position: relative;
}

.quote-mark { 
    font-size: 4rem; color: var(--primary); 
    opacity: 0.3; line-height: 1; margin-bottom: 10px; 
}

.quote-text { 
    font-family: var(--font-body); font-size: 1.2rem; 
    font-style: italic; color: #444; margin-bottom: 25px; line-height: 1.6;
}

.author h4 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 2px; }
.author span { font-family: var(--font-body); color: var(--primary); font-size: 0.9rem; }

@media (max-width: 768px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}

.author-info { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-top: 20px; 
}

.author-img { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--primary); 
}

.author-text h4 { 
    font-family: var(--font-head); 
    font-size: 1.3rem; 
    margin-bottom: 2px; 
}

.author-text span { 
    font-family: var(--font-body); 
    color: var(--primary); 
    font-size: 0.9rem; 
}

.why-choose-us { padding: 100px 5%; background: #ffffff; text-align: center; }

.why-choose-us h2 { 
    font-family: var(--font-head); font-size: 3.5rem; margin-bottom: 15px; 
}
.why-choose-us h2 span { color: var(--primary); }

.features-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; 
}

.feature-card { 
    background: #f8f9fa; padding: 40px 25px; border-radius: 16px;
    border: 1px solid #f0f0f0; transition: 0.3s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-5px); }

.icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); }

.feature-card h3 { 
    font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 15px; 
}
.feature-card p { 
    font-family: var(--font-body); font-size: 0.95rem; color: #555; line-height: 1.6; 
}

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.cta-banners { 
    display: flex; 
    width: 100%; 
    min-height: 350px; 
    overflow: hidden; 
}

.banner { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    color: #fff; 
    padding: 40px;
    position: relative; 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

/* Explicitly darken backgrounds so text is readable */
.organizer-banner { 
    background-color: #1a1a1a; 
}
.artist-banner { 
    background-color: var(--primary); 
}

/* Overlay to ensure readability */
.banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.banner-content { position: relative; z-index: 2; }

.banner h2 { 
    font-family: var(--font-head); 
    font-size: 3rem; 
    margin-bottom: 15px; 
    letter-spacing: 1px;
}

.banner p { 
    font-family: var(--font-body); 
    margin-bottom: 30px; 
    font-size: 1.1rem;
}

.cta-btn {
    padding: 15px 40px; 
    background: #fff; 
    color: var(--dark);
    text-decoration: none; 
    font-family: var(--font-head); 
    font-size: 1.2rem; 
    border-radius: 4px; 
    transition: 0.3s; 
    display: inline-block;
    text-transform: uppercase;
}

.cta-btn:hover { 
    background: var(--primary); 
    color: #fff; 
    transform: scale(1.05); 
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .cta-banners { flex-direction: column; }
    .banner { min-height: 250px; }
}

/* Layout Container */
.main-footer { background: #ffffff; padding: 80px 5% 40px; border-top: 1px solid #eee; }
.footer-container { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(250px, 1fr)); 
    gap: 40px; 
}

/* Col 1 & 2 Adjustments */
.footer-col h4 { font-family: var(--font-head); margin-bottom: 20px; color: #000; }
.footer-links { list-style: none; padding: 0; }
.footer-links li a { color: #666; text-decoration: none; margin-bottom: 10px; display: block; }
.footer-links li a:hover { color: var(--primary); }

/* --- FIXED: Social Links Styling --- */
.social-links { 
    display: flex; 
    gap: 20px; 
    margin-top: 20px; 
}
.social-links a { 
    font-size: 1.5rem; 
    color: #1a1a1a; 
    transition: 0.3s; 
}
.social-links a:hover { color: var(--primary); }

/* --- FIXED: Newsletter & App Styling --- */
.subscribe-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.subscribe-form input { padding: 12px; border: 1px solid #ddd; border-radius: 4px; }
.subscribe-form button { padding: 12px; background: var(--primary); color: #fff; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; }

.app-downloads { 
    display: flex; 
    gap: 10px; 
    margin-top: 15px; 
    align-items: center;
}
.app-btn { 
    height: 45px; 
    width: auto; 
    object-fit: contain; 
    display: block;
}

/* Footer Bottom */
.footer-bottom { 
    margin-top: 60px; 
    padding-top: 20px; 
    border-top: 1px solid #eee; 
    text-align: center; 
    font-size: 0.9rem; 
    color: #888;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .app-downloads { justify-content: center; }
}

/* Sidebar and Sticky Logic */
.profile-page-wrapper { max-width: 1200px; margin: 0 auto; }
.main-profile-body { display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding:20px;
    max-width: 1200px;
    }

.sticky-sidebar { position: sticky; top: 120px; height: fit-content; }

.booking-card { 
    border: 1px solid #eee; border-radius: 16px; padding: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); background: #fff;
}
.card-avatar { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 15px; }

.share-save-btns { display: flex; gap: 15px; margin-bottom: 20px; justify-content: flex-end; }
.share-save-btns button { border: none; background: none; cursor: pointer; font-weight: 600; }

.card-details p { margin: 10px 0; color: #555; }
.card-details i { margin-right: 10px; color: var(--primary); }

.price-hint { text-align: center; margin-top: 15px; color: #888; font-size: 0.9rem; }

/* Sticky Menu */
.sticky-menu {
    position: sticky; top: 80px; background: #fff; z-index: 900;
    border-bottom: 1px solid #eee; padding: 20px 5%; display: flex; gap: 20px;
    font-family: var(--font-head); font-size: 1.1rem;
}
.sticky-menu a.active { color: var(--primary); border-bottom: 2px solid var(--primary); }

/* Fixed Button Style */
    .btn-card-white {
        display: inline-block; 
        margin-top: 20px; 
        padding: 12px 30px;
        color: #000000; 
        text-decoration: none; 
        font-family: var(--font-head); 
        font-size: 1.1rem; 
        border-radius: 4px; 
        transition: 0.3s; 
        background: #ffffff; 
        /* Border fixed with !important and standard 2px width */
        border: 2px solid #000000 !important; 
        cursor: pointer;
    }
    .btn-card-white:hover {
        background: var(--primary);
		 border: 2px solid #ffffff !important; 
        color: #fff;
    }

    /* Details Capsule Styling */
    .details-container {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 20px;
    }
    .capsule {
        background: #f4f4f4;
        color: var(--dark);
        padding: 8px 20px;
        border-radius: 100px;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 600;
        border: 1px solid #eee;
        transition: 0.3s;
    }
    .capsule:hover {
        border-color: var(--primary);
        color: var(--primary);
        background: #fff;
    }
	
	section[id]{
scroll-margin-top:140px;
}

.artist-grid { 
    display: grid; 
    /* Force 4 columns, no matter what */
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
    width: 100%; /* Ensure it spans full width */
}
        /* Artist Card */
        .artist-card { border: 1px solid #eee; border-radius: 16px; overflow: hidden; position: relative; transition: 0.3s; height: auto; width: 300px; }
        .artist-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
        .artist-card img { width: 100%; height: 200px; object-fit: cover; }
        .card-body { padding: 15px; }
        .heart-icon { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.8); padding: 8px; border-radius: 50%; cursor: pointer; }
		/* Ensure the icon has a transition for a smooth effect */
.heart-icon i {
    transition: color 0.3s ease; 
}

/* Change icon color to primary on hover of the container */
.heart-icon:hover i {
    color: var(--primary);
}

 .cta-book { width: 100%; padding: 12px; background: var(--primary); color: #fff; border: none; border-radius: 8px; margin-top: 10px; cursor: pointer; }
 
 /* Booking Form Specific Styles */
.booking-container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-header {
    border-bottom: 2px solid #f8f8f8;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.form-header h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--dark);
}

.form-header span {
    color: var(--primary);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    transition: 0.3s;
}

/* Persistent Pink Border on Focus */
.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 20, 102, 0.1);
}

.full-width {
    grid-column: span 2;
}

.booking-summary {
    background: #fff5f9;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed var(--primary);
    margin-top: 20px;
}

/* Breadcrumb Specific Hover */
.breadcrumb a:hover {
    text-decoration: underline;
}

/* Booking Form Input Borders */
.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    /* Constant visible border */
    border: 2px solid #eeeeee !important; 
    border-radius: 8px;
    font-family: var(--font-body);
    color: var(--dark);
    transition: all 0.3s ease;
    outline: none;
}

/* Pink border on focus */
.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--primary) !important;
    background: #fff;
    box-shadow: 0 0 8px rgba(184, 20, 102, 0.1);
}

/* Adjusting the container for better spacing with breadcrumbs */
.booking-container {
    max-width: 900px;
    margin: 15px auto 80px auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* Custom Dropdown Arrow Styling */
.input-group select {
    appearance: none; /* Hides default arrow in Chrome/Safari */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23B81466' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px !important; /* Space for the arrow */
    cursor: pointer;
}

/* Breadcrumb Styling */
.breadcrumb-wrapper {
    max-width: 900px;
    margin: 30px auto 10px auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #888;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: #ccc;
    font-size: 0.8rem;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 80px); /* Adjust based on your header height */
    background: #f8fafc;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    text-decoration: none;
    color: #64748b;
    font-family: var(--font-body);
    font-weight: 500;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.nav-item i {
    width: 20px;
    font-size: 1.1rem;
}

.nav-item:hover {
    color: var(--primary);
    background: #fff5f9;
}

.nav-item.active {
    color: var(--primary);
    background: #fff5f9;
    border-left: 4px solid var(--primary);
    font-weight: 700;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 40px;
}

.welcome-header h1 {
    font-family: var(--font-head);
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 5px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-card .value {
    font-family: var(--font-head);
    font-size: 2.2rem;
    color: var(--dark);
}

.stat-card .trend {
    font-size: 0.85rem;
    margin-top: 5px;
}

.trend.up { color: #10b981; }

/* Booking Request List */
.recent-bookings {
    margin-top: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.booking-item-card {
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    transition: 0.3s;
}

.booking-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(184, 20, 102, 0.05);
}

.booking-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.event-icon {
    width: 50px;
    height: 50px;
    background: #fff5f9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
}

.event-details h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.event-details p {
    font-size: 0.85rem;
    color: #64748b;
}

.booking-meta {
    text-align: right;
    margin-right: 40px;
}

.booking-amount {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--dark);
}

.booking-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}

.btn-accept {
    background: var(--primary);
    color: #fff;
    border: none;
}

.btn-details {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-details:hover {
    background: #e2e8f0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px; /* Spacing between bell and profile */
}

/* Notification Styling */
.nav-icon-wrapper {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    color: #64748b;
    transition: 0.3s;
}

.nav-icon-wrapper:hover {
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff; /* Makes the badge pop against the icon */
}

/* Profile Trigger Styling */
.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 50px;
    transition: 0.3s;
}

.user-profile-trigger:hover {
    background: #fff5f9;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    overflow: hidden;
}

.user-avatar i {
    font-size: 1.1rem;
}

/* If user has an actual image */
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Container for the edit overlay */
.editable-element {
    position: relative;
    transition: 0.3s;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 5px;
}

.editable-element:hover {
    background: rgba(184, 20, 102, 0.03);
    border: 1px dashed var(--primary);
}

/* Edit Icon Style */
.edit-btn-mini {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(184, 20, 102, 0.3);
    z-index: 10;
}

.editable-element:hover .edit-btn-mini {
    opacity: 1;
}

/* Photo Edit Overlay */
.photo-edit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 0.7rem;
    font-family: var(--font-body);
    transform: translateY(100%);
    transition: 0.3s;
}

.profile-photo-container:hover .photo-edit-overlay {
    transform: translateY(0);
}

/* View Mode Indicator */
.view-mode-bar {
    background: #fff5f9;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(184, 20, 102, 0.1);
}

/* Profile Identity Section */
.profile-hero-lite {
    background: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.profile-flex-container {
    max-width: 1400px;
    margin: 25px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 5%;
}

.profile-photo-container {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.profile-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-meta-info {
    flex: 1;
}

.platform-name {
    font-family: var(--font-head);
    font-size: 4.5rem;
    line-height: 0.9;
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.real-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 400;
}

.identity-badges {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
}

.badge-item i {
    color: var(--primary);
}

.focus-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.focus-tag {
    background: #fff5f9;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(184, 20, 102, 0.1);
}

/* Modal Content Box */
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 650px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    
    /* FIX: Ensure height is fluid and scrollable */
    height: auto; 
    max-height: 85vh; 
    overflow-y: auto; 
    
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Scrollbar for the modal (optional but looks premium) */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 10px;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: 0.2s;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.check-item:hover {
    border-color: var(--primary);
    background: #fff5f9;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.check-item span {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

/* Button Normalization */
.modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

.modal-btn {
    flex: 1;
    height: 50px; /* Fixed height ensures they match perfectly */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    padding: 0; /* Remove padding to rely on fixed height */
    box-sizing: border-box;
}

/* Save Button Styling */
.btn-save {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-save:hover {
    background: #a01259; /* Slightly darker pink */
}

/* Cancel Button Styling */
.btn-cancel {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Contact List Styling */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list i {
    width: 35px;
    height: 35px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.contact-list span {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-list p {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

/* Updated Gallery Container */
.gallery-grid {
    display: grid;
    /* This forces 4 equal columns */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 20px;
}

/* Ensure images maintain a square/consistent aspect ratio */
.gallery-item, .add-media-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Makes them perfect squares like your image */
    width: 100%;
}

/* Add Media Card specific styling to match your screenshot */
.add-media-card {
    border: 2px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    transition: 0.3s;
}

.add-media-card:hover {
    border-color: var(--primary);
    background: #fff5f9;
}

/* Gallery Hover Overlay */
.gallery-item .media-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(184, 20, 102, 0.2);
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .media-overlay {
    opacity: 1;
}

.delete-media {
    background: #fff;
    color: #ef4444;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: 2 columns */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .contact-list {
        grid-template-columns: 1fr !important;
    }
}
/* Matching the Header Edit Information Button */
.btn-edit-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #B81466; /* Your primary pink */
    border: 1px solid #B81466;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: absolute;
    top: 20px;
    right: 20px;
}

.btn-edit-main:hover {
    background-color: #fff5f9; /* Very light pink tint */
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(184, 20, 102, 0.1);
}

.btn-edit-main i {
    font-size: 0.9rem;
}
/* Modal Overlay Styling */
.modal-overlay {
    display: none; /* Controlled by JS */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.close-modal {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 2rem;
    color: #94a3b8;
    cursor: pointer;
}

/* Persona Selector Layout */
.persona-container {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.persona-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.persona-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    width: 260px; /* Fixed width */
    aspect-ratio: 1 / 1; /* FORCES A PERFECT SQUARE */
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Spreads content to top and bottom */
    position: relative;
    box-sizing: border-box;
}

/* Remove the margin-top from the wrapper so it doesn't push the card open */
.status-toggle-wrapper {
    margin-top: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.persona-icon-circle {
    width: 80px; /* Slightly smaller to fit everything in the square */
    height: 80px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}


.persona-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(184, 20, 102, 0.08);
}



.persona-icon-circle i {
    font-size: 2.5rem;
    color: #64748b;
    transition: 0.3s;
}

.persona-card:hover .persona-icon-circle {
    background: #fff5f9;
}

.persona-card:hover .persona-icon-circle i {
    color: var(--primary);
    transform: scale(1.1);
}

.persona-title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.persona-status {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

.persona-card:hover .persona-title {
    color: var(--primary);
}

/* Badge for "Active" or "Incomplete" */
.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}



/* The actual Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Status Text Label */
.status-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.status-active { color: #10b981; }
.status-inactive { color: #94a3b8; }

/* Ensure the Add Role card matches the persona-card dimensions */
.add-role-card {
    background: transparent;
    border: 2px dashed #cbd5e1;
    border-radius: 24px;
    width: 260px; /* Must match .persona-card width */
    aspect-ratio: 1 / 1; /* Forces the perfect square */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers the plus icon perfectly */
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    box-sizing: border-box;
}

.add-role-card:hover {
    border-color: var(--primary);
    background: #fff5f9;
}

.add-role-icon-circle {
    width: 80px;
    height: 80px;
    border: 2px dashed #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: 0.3s;
}

.add-role-card:hover .add-role-icon-circle {
    border-color: var(--primary);
    color: var(--primary);
}

/* Tab Navigation */
.bookings-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    padding: 15px 10px;
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    text-transform: uppercase;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
}

/* Booking Card Structure */
.booking-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-card-main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    display: grid;
    grid-template-columns: 80px 1fr 200px 220px;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.booking-card-main:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.date-badge {
    background: #fff5f9;
    color: var(--primary);
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    font-family: var(--font-head);
}

.date-badge .day { font-size: 1.8rem; line-height: 1; }
.date-badge .month { font-size: 0.9rem; text-transform: uppercase; }

.event-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.event-info p {
    font-size: 0.9rem;
    color: #64748b;
}

.price-tag {
    text-align: right;
}

.price-amount {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--dark);
}

.action-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Container Constraint - Increased padding for better breathing room */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Individual Card Styling */
.booking-card-main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px; /* Increased padding */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Left Section (Date + Text) */
.card-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 2; /* Takes up the most space */
}

/* Middle Section (Price + Status) */
.card-center {
    flex: 1;
    text-align: right;
    padding-right: 50px;
    border-right: 1px solid #f1f5f9; /* Subtle divider for structure */
}

/* Right Section (Buttons) */
.card-right {
    flex: 0 0 220px; /* Fixed width so buttons don't shrink */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-left: 30px;
}

/* Button Fixes */
.btn-booking {
    width: 100%; /* Fills the 220px container */
    height: 42px; /* Slightly taller for better touch/click targets */
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: 0.2s ease;
}

/* Status Badge for Confirmed Gigs */
.status-badge-confirmed {
    background: #ecfdf5;
    color: #10b981;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid #10b981;
}

/* Specific Button for Messaging/Contracts */
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* Ensure the container stays a column-flex when visible */
.booking-list-container {
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Ensure the cards themselves always remain flex rows */
.booking-card-main {
    display: flex !important; 
    /* The !important ensures the JS display:flex on the parent doesn't mess with the card */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-list-container {
    animation: fadeIn 0.4s ease;
}

/* Past/Archived Card State */
.booking-card-past {
    opacity: 0.85; /* Slightly faded to show it's in the past */
    filter: grayscale(0.2);
    transition: 0.3s;
}

.booking-card-past:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Cancelled Status Badge */
.status-badge-cancelled {
    background: #fef2f2;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid #fecaca;
}

/* Completed Status Badge */
.status-badge-completed {
    background: #f0fdf4;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid #bbf7d0;
}

/* Ensure this is in your CSS file */
.modal-overlay {
    display: none; /* Initial state */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    backdrop-filter: blur(5px); /* Professional blurred effect */
    z-index: 9999; /* Higher than everything else */
    justify-content: center;
    align-items: center;
}

/* When the modal is active, we use this class or style via JS */
.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    width: 90%;
    max-width: 800px;
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.view-link {
    color: #64748b !important; /* Elegant Slate Gray */
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-block;
    margin-top: 5px;
}

/* Change color on hover to your brand pink */
.view-link:hover {
    color: var(--primary) !important; 
    text-decoration: underline !important;
}

/* Prevents the "Visited" purple color */
.view-link:visited {
    color: #64748b !important;
}