/* ============================================
   BELLEZZA NAIL & BEAUTY CENTER
   Modern & Organic Spa Website Styles
   ============================================ */

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --rose-gold: #B76E79;
    --rose-gold-light: #D4A5A5;
    --rose-gold-dark: #8B4D57;
    
    /* Neutral Colors */
    --beige: #F5E6D3;
    --beige-light: #FBF7F4;
    --beige-dark: #E8D5C4;
    --cafe-light: #A67C52;
    --cafe-dark: #6B4423;
    --white: #FFFFFF;
    --cream: #FAF8F5;
    
    /* Text Colors */
    --text-dark: #3D2914;
    --text-medium: #6B5344;
    --text-light: #9B8579;
    
    /* Accent Colors */
    --gold: #D4AF37;
    --gold-light: #E8D5A3;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(183, 110, 121, 0.1);
    --shadow-medium: 0 8px 30px rgba(183, 110, 121, 0.15);
    --shadow-strong: 0 15px 50px rgba(183, 110, 121, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Ticket térmico (ancho del rollo; 58 mm según impresora del salón) */
    --ticket-roll-width: 58mm;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 6px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo {
    color: var(--rose-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--nav-gap, 40px);
    flex-shrink: 0;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--rose-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--rose-gold);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
    background: var(--rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* Mobile Menu Close Button - Hidden on desktop */
.nav-close {
    display: none;
}

/* Mobile Overlay - Hidden on desktop */
.mobile-overlay {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 68, 35, 0.7) 0%,
        rgba(183, 110, 121, 0.5) 50%,
        rgba(166, 124, 82, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 60px 60px;
    animation: fadeInUp 1s ease-out;
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        rgba(107, 68, 35, 0.75) 0%,
        rgba(183, 110, 121, 0.65) 50%,
        rgba(166, 124, 82, 0.7) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 650px;
    margin: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: var(--white);
    color: var(--rose-gold);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-strong);
}

.hero-cta:hover {
    background: var(--rose-gold);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 4px;
    animation: scrollDown 1.5s infinite;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: 20px;
}

/* Organic Shapes */
.organic-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--rose-gold);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--cafe-light);
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: var(--beige-dark);
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--rose-gold-light);
    bottom: -100px;
    left: 10%;
}

/* ============================================
   SEASONAL DESIGNS SECTION
   ============================================ */
.designs {
    background: var(--white);
}

.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.design-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--cream);
    transition: var(--transition-medium);
    cursor: pointer;
}

.design-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.design-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.design-card:hover .design-image img {
    transform: scale(1.1);
}

.design-info {
    padding: 25px;
    text-align: center;
}

.design-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.design-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.design-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--rose-gold);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: linear-gradient(180deg, var(--cream) 0%, var(--beige-light) 100%);
}

.shape-services {
    width: 450px;
    height: 450px;
    background: var(--rose-gold-light);
    top: 20%;
    left: -150px;
}

/* Services Tabs */
.services-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-soft);
}

.service-tab:hover {
    border-color: var(--rose-gold-light);
    transform: translateY(-2px);
}

.service-tab.active {
    background: var(--rose-gold);
    color: var(--white);
    border-color: var(--rose-gold);
    box-shadow: var(--shadow-medium);
}

.service-tab .tab-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* Services Content */
.services-content {
    position: relative;
}

.service-category {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.service-category.active {
    display: block;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

.category-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition-medium);
    border: 1px solid transparent;
}

.service-item:hover {
    border-color: var(--rose-gold-light);
    transform: translateX(5px);
    box-shadow: var(--shadow-soft);
}

.service-name {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--rose-gold);
    white-space: nowrap;
    margin-left: 20px;
}

/* Service Divider */
.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--beige-dark);
}

/* All Services View */
.services-all-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 25px;
    padding: 35px 30px;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-soft);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--beige);
}

.category-card-icon {
    font-size: 2rem;
    line-height: 1;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark);
}

.category-card-list {
    list-style: none;
}

.category-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--beige-light);
}

.category-card-item:last-child {
    border-bottom: none;
}

.category-card-item .item-name {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.category-card-item .item-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--rose-gold);
}

/* ============================================
   PROMOTIONS SECTION
   ============================================ */
.promotions {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige) 100%);
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.promo-card {
    position: relative;
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-medium);
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rose-gold), var(--rose-gold-light));
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.promo-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--rose-gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.promo-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.promo-original {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.promo-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--rose-gold);
    font-weight: 600;
}

.promo-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.6;
}

.promo-valid {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--cream);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--rose-gold);
    font-weight: 600;
    margin-bottom: 25px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige) 100%);
    border-radius: 12px;
    display: inline-block;
    border: 1px solid var(--rose-gold-light);
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--rose-gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: var(--transition-medium);
}

.product-cta:hover {
    background: var(--rose-gold-dark);
    transform: translateY(-2px);
}

.product-cta svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   TIPS SECTION
   ============================================ */
.tips {
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--cream) 100%);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.tip-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-medium);
    border: 1px solid transparent;
}

.tip-card:hover {
    border-color: var(--rose-gold-light);
    box-shadow: var(--shadow-soft);
}

.tip-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.tip-content {
    flex: 1;
}

.tip-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tip-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(183, 110, 121, 0.7) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ============================================
   BOOKING SECTION
   ============================================ */
.booking {
    background: linear-gradient(
        135deg,
        var(--rose-gold) 0%,
        var(--rose-gold-dark) 50%,
        var(--cafe-light) 100%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.booking-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.booking-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.booking-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 40px;
}

.booking-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    background: var(--white);
    color: var(--rose-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-strong);
}

.booking-cta:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.booking-cta svg {
    width: 22px;
    height: 22px;
}

.booking-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.deco-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.deco-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
}

.deco-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location {
    background: var(--white);
}

.shape-location {
    width: 400px;
    height: 400px;
    background: var(--beige);
    bottom: -100px;
    right: -100px;
}

.location-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.location-map {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    min-height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

.location-info {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige) 100%);
    border-radius: 25px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.location-info-item:last-child {
    margin-bottom: 0;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: var(--rose-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.location-details {
    flex: 1;
}

.location-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rose-gold);
    margin-bottom: 5px;
}

.location-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.location-text a {
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.location-text a:hover {
    color: var(--rose-gold);
}

.location-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 14px 28px;
    background: var(--rose-gold);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition-medium);
}

.location-cta:hover {
    background: var(--rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.location-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Location Responsive */
@media (max-width: 900px) {
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .location-info {
        padding: 30px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--rose-gold-light);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.8;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.social-link:hover {
    background: var(--rose-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-medium);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 40px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        gap: calc(var(--nav-gap, 40px) * 0.7);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 900px) and (min-width: 769px) {
    .nav-links {
        gap: calc(var(--nav-gap, 40px) * 0.55);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Mobile Menu - Takes half screen from right */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 50%;
        min-width: 280px;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: #FFFFFF !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 80px 30px 40px;
        transform: translateX(100%);
        transition: var(--transition-medium);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 1002;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    /* Override any parent navbar styles */
    .nav-links a,
    .navbar.scrolled .nav-links a {
        color: var(--text-dark) !important;
        font-size: 1.1rem;
        display: block;
        padding: 8px 0;
        transition: var(--transition-fast);
    }
    
    .nav-links a:hover,
    .navbar.scrolled .nav-links a:hover {
        color: var(--rose-gold) !important;
    }
    
    /* Close Button - Rose Gold - Always visible */
    .nav-close {
        position: fixed;
        top: 25px;
        right: 25px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--white);
        border: 2px solid var(--rose-gold);
        border-radius: 50%;
        cursor: pointer;
        transition: var(--transition-fast);
        z-index: 1003;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active ~ .nav-container .nav-close,
    .nav-links.active .nav-close {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-close svg {
        width: 20px;
        height: 20px;
        stroke: var(--rose-gold);
    }
    
    .nav-close:hover {
        background: var(--rose-gold);
    }
    
    .nav-close:hover svg {
        stroke: var(--white);
    }
    
    /* Mobile Overlay */
    .mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-medium);
        z-index: 1001;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1003;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .hero-title {
        letter-spacing: 8px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .designs-grid,
    .promos-grid,
    .products-grid,
    .tips-grid,
    .services-list,
    .services-all-categories {
        grid-template-columns: 1fr;
    }
    
    .services-tabs {
        gap: 8px;
    }
    
    .service-tab {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
    
    .category-name {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 5px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-cta {
        padding: 16px 30px;
        font-size: 0.8rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .hero-scroll {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
}

/* ============================================
   AGENDA SYSTEM STYLES
   ============================================ */

/* Login Screen */
.agenda-login-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 68, 35, 0.9) 0%,
        rgba(183, 110, 121, 0.85) 50%,
        rgba(166, 124, 82, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.agenda-login-container {
    width: 100%;
    max-width: 450px;
    padding: 24px;
}

.agenda-login-card {
    background: var(--white);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: var(--shadow-strong);
    text-align: center;
}

.agenda-login-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--rose-gold);
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.agenda-login-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.agenda-login-form {
    text-align: left;
}

.agenda-login-form .agenda-btn-primary {
    width: 100%;
    box-sizing: border-box;
}

/* Form Styles */
.agenda-form-group {
    margin-bottom: 25px;
}

.agenda-repeat-box {
    margin-bottom: 25px;
    padding: 18px 20px;
    background: #faf7f5;
    border: 2px solid var(--beige-dark);
    border-radius: 16px;
}

.agenda-repeat-preview {
    margin-top: 14px;
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.45;
}

#repeat-appointment-fields[hidden],
.agenda-repeat-preview[hidden] {
    display: none !important;
}

.agenda-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-input,
.agenda-select,
.agenda-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--beige-dark);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition-fast);
}

.agenda-input:focus,
.agenda-select:focus,
.agenda-textarea:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

/* Date and Time Inputs - Make entire input clickable */
input[type="date"],
input[type="time"],
input[type="month"] {
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Time input scrollbar styling */
input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field {
    cursor: pointer;
}

/* Custom scrollbar for time picker dropdown (when available) */
input[type="time"] {
    position: relative;
}

/* Ensure the entire input area is clickable */
input[type="date"],
input[type="time"] {
    position: relative;
}

/* Filter date input */
.agenda-filter-input[type="date"] {
    cursor: pointer;
}

.agenda-input::placeholder,
.agenda-textarea::placeholder {
    color: var(--text-light);
}

/* Date and Time Inputs - Make entire input clickable */
input[type="date"],
input[type="time"] {
    cursor: pointer;
    position: relative;
}

/* Make the calendar/time picker icon cover the entire input area */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Ensure the input text area is also clickable */
input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit {
    cursor: pointer;
    width: 100%;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    cursor: pointer;
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="time"]::-webkit-datetime-edit-text {
    cursor: pointer;
}

input[type="date"]::-webkit-datetime-edit-hour-field,
input[type="date"]::-webkit-datetime-edit-minute-field,
input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field {
    cursor: pointer;
    padding: 0 2px;
}

/* Filter date input */
.agenda-filter-input[type="date"] {
    cursor: pointer;
}

/* Custom scrollbar styling for time picker dropdown (when browser shows it) */
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(183, 110, 121, 0.1);
}

.agenda-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Services Checkboxes */
.agenda-services-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 15px;
    background: var(--cream);
    border-radius: 12px;
    border: 2px solid var(--beige-dark);
}

.agenda-service-category {
    margin-bottom: 30px;
}

.agenda-service-category:last-child {
    margin-bottom: 0;
}

.agenda-service-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--beige-dark);
}

.agenda-service-category-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.agenda-service-category-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.agenda-service-category-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.agenda-service-item {
    position: relative;
}

.agenda-service-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.agenda-service-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--white);
    border: 2px solid var(--beige-dark);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
    gap: 12px;
}

.agenda-service-label:hover {
    border-color: var(--rose-gold-light);
    background: var(--cream);
    transform: translateX(3px);
}

.agenda-service-checkbox:checked + .agenda-service-label {
    background: var(--rose-gold-light);
    border-color: var(--rose-gold);
    color: var(--white);
}

.agenda-service-checkbox:checked + .agenda-service-label .agenda-service-name,
.agenda-service-checkbox:checked + .agenda-service-label .agenda-service-price {
    color: var(--white);
    font-weight: 500;
}

.agenda-service-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.agenda-service-price {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--rose-gold);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition-fast);
}

/* Password Toggle */
.agenda-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.agenda-password-wrapper .agenda-input {
    padding-right: 50px;
}

.agenda-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-fast);
    border-radius: 8px;
    z-index: 10;
    pointer-events: auto;
}

.agenda-password-toggle:hover {
    color: var(--rose-gold);
    background: var(--beige-light);
}

.agenda-password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

.agenda-eye-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: var(--transition-fast);
    pointer-events: none;
}

/* Icono “ojo”: visible cuando el valor está oculto (type password) */
.agenda-password-wrapper:not(.show-password) .agenda-eye-when-visible {
    display: none !important;
}

.agenda-password-wrapper.show-password .agenda-eye-when-masked {
    display: none !important;
}

.agenda-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B76E79' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* Buttons */
.agenda-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.agenda-btn-primary {
    background: var(--rose-gold);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.agenda-btn-primary:hover {
    background: var(--rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.agenda-btn-secondary {
    background: var(--beige);
    color: var(--text-dark);
    border: 2px solid var(--beige-dark);
}

.agenda-btn-secondary:hover {
    background: var(--beige-dark);
    transform: translateY(-2px);
}

.agenda-btn-danger {
    background: #d32f2f;
    color: var(--white);
}

.agenda-btn-danger:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

.agenda-btn-large {
    padding: 18px 45px;
    font-size: 0.9rem;
    width: 100%;
}

.agenda-btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
    opacity: 0.7;
}

.agenda-btn-icon:hover {
    opacity: 1;
    background: var(--beige-light);
    transform: scale(1.1);
}

/* Error Message */
.agenda-error-message {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 15px;
    text-align: center;
    min-height: 20px;
}

/* Agenda System */
.agenda-system {
    min-height: 100vh;
    background: var(--cream);
}

.agenda-header {
    background: linear-gradient(
        135deg,
        var(--rose-gold) 0%,
        var(--rose-gold-dark) 100%
    );
    padding: 25px 0;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 120;
}

.agenda-header-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agenda-header-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 4px;
    font-weight: 300;
    margin: 0;
}

.agenda-header-title-short {
    display: none;
}

.agenda-menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.agenda-menu-toggle span {
    position: absolute;
    left: 12px;
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.agenda-menu-toggle span:nth-child(1) {
    top: 15px;
}

.agenda-menu-toggle span:nth-child(2) {
    top: 21px;
}

.agenda-menu-toggle span:nth-child(3) {
    top: 27px;
}

.agenda-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.agenda-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.agenda-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.agenda-mobile-logout {
    display: none;
}

.agenda-nav-overlay {
    display: none;
}

/* Main Content */
.agenda-main {
    padding: 40px 0;
}

.agenda-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Tabs — carrusel horizontal (no desborda el ancho de pantalla) */
.agenda-tabs-carousel {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    gap: 0;
    box-sizing: border-box;
}

.agenda-tabs-nav {
    flex-shrink: 0;
    width: 42px;
    min-width: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--beige-dark);
    border-bottom: 2px solid var(--beige-dark);
    background: var(--cream);
    color: var(--text-medium);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.agenda-tabs-nav:hover:not(:disabled) {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-tabs-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.agenda-tabs-nav-prev {
    border-radius: 10px 0 0 0;
    border-right: none;
}

.agenda-tabs-nav-next {
    border-radius: 0 10px 0 0;
    border-left: none;
}

.agenda-tabs-nav-icon {
    width: 22px;
    height: 22px;
}

.agenda-tabs-scroll {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid var(--beige-dark);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.agenda-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.agenda-tabs-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    min-height: 100%;
    padding: 0 4px 2px;
    align-items: flex-end;
    box-sizing: border-box;
}

.agenda-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 15px 22px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    margin-bottom: -2px;
}

.agenda-tab:hover {
    color: var(--rose-gold);
}

.agenda-tab.active {
    color: var(--rose-gold);
    border-bottom-color: var(--rose-gold);
}

/* Sections */
.agenda-section {
    display: none;
}

.agenda-section.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.agenda-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* Form Rows */
.agenda-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#ticket-edit-date-group[hidden],
#ticket-form-edit-banner[hidden] {
    display: none !important;
}

.agenda-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

/* View Section */
.agenda-view-header {
    margin-bottom: 40px;
}

.agenda-view-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.agenda-view-header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.agenda-block-agenda-wrap {
    display: none;
    align-items: center;
}

.agenda-block-agenda-open-btn {
    font-size: 0.85rem;
    padding: 10px 16px;
    white-space: nowrap;
}

.agenda-block-mode-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.agenda-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 500;
}

.agenda-calendar-appointment-card--block {
    border-style: dashed;
    border-color: #b71c1c;
    box-shadow: inset 0 0 0 1px rgba(183, 28, 28, 0.25);
}

.agenda-appointment-card--block {
    border: 2px dashed #b71c1c;
    background: #fff8f7;
}

.agenda-view-toggle {
    display: flex;
    gap: 10px;
    background: var(--beige-light);
    padding: 4px;
    border-radius: 12px;
}

.agenda-view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition-fast);
}

.agenda-view-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.agenda-view-toggle-btn:hover {
    color: var(--rose-gold);
    background: var(--white);
}

.agenda-view-toggle-btn.active {
    background: var(--white);
    color: var(--rose-gold);
    box-shadow: var(--shadow-soft);
}

/* List View */
.agenda-list-view {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    margin-top: 30px;
}

.agenda-list-day-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--beige-dark);
}

.agenda-list-day-nav-date {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.35;
}

.agenda-list-day-nav-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 1.1rem;
}

.agenda-appointments-list {
    display: grid;
    gap: 20px;
}

.agenda-appointment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid var(--beige);
    flex-wrap: wrap;
    gap: 15px;
}

.agenda-appointment-status {
    flex: 1;
    min-width: 200px;
}

.agenda-confirmation-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.agenda-confirmation-badge-pending {
    background: #FFF3CD;
    color: #856404;
    border: 2px solid #FFC107;
}

.agenda-confirmation-badge-pending:hover {
    background: #FFE69C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.agenda-confirmation-badge-sent {
    background: #D4EDDA;
    color: #155724;
    border: 2px solid #28A745;
    cursor: default;
}

.agenda-appointment-actions-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.agenda-btn-small {
    padding: 10px 18px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agenda-btn-small .agenda-btn-icon {
    width: 16px;
    height: 16px;
}

.agenda-appointment-action-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-medium);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-appointment-action-btn:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-appointment-action-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .agenda-view-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .agenda-appointment-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .agenda-appointment-actions-footer {
        width: 100%;
    }
    
    .agenda-btn-small {
        flex: 1;
        justify-content: center;
    }
}

/* Filters Container */
.agenda-filters-container {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige-dark);
    margin-top: 25px;
    transition: var(--transition-medium);
}

.agenda-filters-container:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--rose-gold-light);
}

.agenda-filters-container > .agenda-filter-group {
    margin-top: 20px;
}

.agenda-filters-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--beige);
}

.agenda-filters-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.agenda-filters-title::before {
    content: '🔍';
    font-size: 1.2rem;
}

.agenda-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.agenda-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.agenda-filter-date-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.agenda-filter-date-row .agenda-filter-date-input {
    flex: none;
    width: 100%;
    min-width: 0;
}

.agenda-filter-today-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    flex-shrink: 0;
}

.agenda-filter-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agenda-filter-icon {
    width: 16px;
    height: 16px;
    stroke: var(--rose-gold);
    flex-shrink: 0;
}

.agenda-filter-select,
.agenda-filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--beige-dark);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition-fast);
}

.agenda-filter-select:focus,
.agenda-filter-input:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
    background: var(--beige-light);
}

.agenda-filter-select:hover,
.agenda-filter-input:hover {
    border-color: var(--rose-gold-light);
}

.agenda-filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B76E79' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.agenda-filter-input::placeholder {
    color: var(--text-light);
    font-style: italic;
}

.agenda-filter-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100%;
}

.agenda-filter-actions::before {
    content: '';
    flex: 1 1 auto;
    min-height: 0;
}

.agenda-filter-actions .agenda-btn-filter {
    align-self: flex-end;
    flex-shrink: 0;
}

.agenda-btn-filter {
    padding: 12px 24px;
    font-size: 0.85rem;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-medium);
}

.agenda-btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.agenda-btn-icon-svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Appointments List */
.agenda-appointments-list {
    display: grid;
    gap: 20px;
}

.agenda-appointment-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    border: 1px solid transparent;
}

.agenda-appointment-card:hover {
    border-color: var(--rose-gold-light);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.agenda-appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--beige);
}

.agenda-appointment-id {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--rose-gold);
    font-weight: 500;
}

.agenda-appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.agenda-appointment-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.agenda-appointment-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.agenda-field-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.agenda-field-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 400;
}

.agenda-services-display {
    margin-top: 5px;
}

.agenda-services-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.agenda-service-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--rose-gold-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.agenda-collaborator-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--rose-gold-light);
    color: var(--rose-gold-dark);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
}

.agenda-notes-field {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--beige);
}

.agenda-notes-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    color: var(--text-medium);
    font-style: italic;
}

.agenda-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.agenda-empty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--rose-gold);
}

.agenda-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.agenda-empty-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Confirmations Section */
.agenda-section-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    font-style: italic;
}

/* Clients Section (Agenda) */
.agenda-clients-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.agenda-clients-container {
    margin-top: 30px;
}

.agenda-clients-list {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 2px solid var(--beige-dark);
}

.agenda-clients-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 14px 16px;
    background: var(--white);
    border: 2px solid var(--beige-dark);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.agenda-clients-pagination--single {
    justify-content: flex-start;
}

.agenda-clients-list + .agenda-clients-pagination {
    margin-top: 14px;
}

.agenda-clients-pagination-info {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
}

.agenda-clients-pagination .agenda-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.agenda-client-item {
    border-bottom: 1px solid var(--beige);
    transition: var(--transition-fast);
}

.agenda-client-item:last-child {
    border-bottom: none;
}

.agenda-client-item:hover {
    background: var(--beige-light);
}

.agenda-client-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    gap: 20px;
}

.agenda-client-item-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agenda-client-item-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.agenda-client-item-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.agenda-client-item-phone,
.agenda-client-item-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.agenda-client-icon {
    width: 16px;
    height: 16px;
    color: var(--text-light);
    flex-shrink: 0;
}

.agenda-client-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.agenda-btn-edit-client,
.agenda-btn-delete-client {
    background: rgba(183, 110, 121, 0.1);
    border: 1px solid var(--rose-gold-light);
    cursor: pointer;
    padding: 7px;
    border-radius: 10px;
    transition: var(--transition-fast);
    color: var(--rose-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    box-sizing: border-box;
    opacity: 1;
    box-shadow: 0 1px 2px rgba(139, 77, 87, 0.12);
}

.agenda-btn-edit-client:hover,
.agenda-btn-delete-client:hover {
    background: rgba(183, 110, 121, 0.18);
    color: var(--rose-gold-dark);
    border-color: var(--rose-gold);
    transform: scale(1.05);
}

.agenda-btn-edit-client svg,
.agenda-btn-delete-client svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Estos botones también llevan .agenda-btn-icon; anula tamaño fijo 20px definido más abajo en el archivo */
.agenda-client-item-actions .agenda-btn-edit-client,
.agenda-client-item-actions .agenda-btn-delete-client {
    width: auto;
    height: auto;
}

/* Client Search with Autocomplete */
.agenda-client-search-wrapper {
    position: relative;
}

.agenda-client-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--beige-dark);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-medium);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: -2px;
}

.agenda-client-suggestions.active {
    display: block;
}

.agenda-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--beige);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.agenda-suggestion-item:last-child {
    border-bottom: none;
}

.agenda-suggestion-item:hover,
.agenda-suggestion-item.is-active {
    background: var(--beige-light);
}

.agenda-report-top-clients {
    grid-column: 1 / -1;
    margin-top: 0;
}

.agenda-report-top-clients-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(10, auto);
    grid-auto-flow: column;
    gap: 0 24px;
}

.agenda-report-top-clients-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .agenda-report-top-clients-list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}

.agenda-suggestion-item.agenda-suggestion-new {
    background: var(--cream);
    font-style: italic;
    color: var(--rose-gold);
    font-weight: 500;
}

.agenda-suggestion-phone {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Employees Section */
.agenda-employees-container {
    margin-top: 30px;
}

.agenda-employees-list {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 2px solid var(--beige-dark);
}

.agenda-employee-item {
    border-bottom: 1px solid var(--beige);
    transition: var(--transition-fast);
}

.agenda-employee-item:last-child {
    border-bottom: none;
}

.agenda-employee-item:hover {
    background: var(--beige-light);
}

.agenda-employee-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    gap: 20px;
}

.agenda-employee-item-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-employee-item-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.agenda-employee-item-details {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.agenda-employee-item-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.agenda-employee-icon {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    flex-shrink: 0;
}

.agenda-employee-item-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.agenda-employee-item-actions .agenda-btn-icon {
    padding: 12px;
    border-radius: 12px;
    opacity: 1;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agenda-employee-item-actions .agenda-btn-icon svg {
    width: 28px;
    height: 28px;
}

.agenda-employee-item-actions .agenda-btn-add-vacation:hover {
    background: #e8f5e9;
    color: #2e7d32;
}

.agenda-employee-item-actions .agenda-btn-add-permission:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-employee-item-actions .agenda-btn-edit-employee:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-employee-item-actions .agenda-btn-delete-employee:hover {
    background: #ffebee;
    color: #d32f2f;
}

.agenda-btn-edit-employee,
.agenda-btn-delete-employee {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-btn-edit-employee:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-btn-delete-employee:hover {
    background: #ffebee;
    color: #d32f2f;
}

.agenda-btn-edit-employee svg,
.agenda-btn-delete-employee svg {
    width: 20px;
    height: 20px;
}

/* Employee Modal */
.agenda-modal-large {
    max-width: min(90vw, 800px);
    width: 100%;
    box-sizing: border-box;
}

.agenda-permissions-list {
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: var(--cream);
    border-radius: 10px;
    border: 2px solid var(--beige-dark);
}

.agenda-permission-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--beige);
    gap: 12px;
}

.agenda-permission-item:last-child {
    margin-bottom: 0;
}

.agenda-permission-content {
    flex: 1;
}

.agenda-permission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    gap: 12px;
}

.agenda-permission-header strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.agenda-permission-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.agenda-permission-notes {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.5;
}

.agenda-permission-actions {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.agenda-btn-edit-permission,
.agenda-btn-delete-permission {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-btn-edit-permission:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-btn-delete-permission:hover {
    background: #ffebee;
    color: #d32f2f;
}

.agenda-btn-edit-permission svg,
.agenda-btn-delete-permission svg {
    width: 16px;
    height: 16px;
}

.agenda-btn-add-vacation,
.agenda-btn-add-permission {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-btn-add-vacation:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-btn-add-permission:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-btn-add-vacation svg,
.agenda-btn-add-permission svg {
    width: 20px;
    height: 20px;
}

.agenda-employee-item-clickable {
    cursor: pointer;
    transition: var(--transition-fast);
}

.agenda-employee-item-clickable:hover {
    background: var(--beige-light);
}

/* Employee Detail Modal Styles */
.agenda-detail-subtitle {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--beige-dark);
}

.agenda-detail-list {
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    background: var(--cream);
    border-radius: 10px;
    border: 2px solid var(--beige-dark);
    box-sizing: border-box;
    word-wrap: break-word;
}

.agenda-detail-list-item {
    padding: 12px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--beige);
    transition: var(--transition-fast);
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.agenda-detail-list-content {
    flex: 1;
    min-width: 0;
}

.agenda-detail-list-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

/* Botones de acción en el modal de detalle */
.agenda-detail-list-actions .agenda-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition-fast);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    opacity: 0.8;
}

.agenda-detail-list-actions .agenda-btn-icon:hover {
    opacity: 1;
    background: var(--beige-light);
    transform: scale(1.05);
}

.agenda-detail-list-actions .agenda-btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.agenda-detail-list-actions .agenda-btn-edit-permission-detail:hover,
.agenda-detail-list-actions .agenda-btn-edit-vacation:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-detail-list-actions .agenda-btn-delete-permission-detail:hover,
.agenda-detail-list-actions .agenda-btn-delete-vacation:hover {
    background: #ffebee;
    color: #d32f2f;
}

.agenda-detail-list-item:last-child {
    margin-bottom: 0;
}

.agenda-detail-list-item:hover {
    border-color: var(--rose-gold-light);
    box-shadow: var(--shadow-soft);
}

.agenda-detail-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    gap: 12px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.agenda-detail-list-reason {
    color: var(--text-dark);
    font-size: 0.95rem;
    flex: 1;
}

.agenda-detail-list-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    flex-shrink: 0;
}

.agenda-detail-list-notes {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.5;
    padding-top: 8px;
    border-top: 1px solid var(--beige);
}

.agenda-detail-vacation-days {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rose-gold);
}

.agenda-detail-vacation-remaining {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rose-gold);
}

.agenda-detail-vacation-remaining.negative {
    color: #d32f2f;
}

.agenda-confirmations-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.agenda-confirmation-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    border: 2px solid var(--beige-dark);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agenda-confirmation-card:hover {
    border-color: var(--rose-gold);
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.agenda-confirmation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--beige);
}

.agenda-confirmation-card-client {
    flex: 1;
}

.agenda-confirmation-card-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.agenda-confirmation-card-phone {
    font-size: 0.9rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 5px;
}

.agenda-confirmation-card-time-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: var(--rose-gold-light);
    border-radius: 12px;
    min-width: 80px;
}

.agenda-confirmation-card-time-label {
    font-size: 0.7rem;
    color: var(--rose-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.agenda-confirmation-card-time-value {
    font-size: 1rem;
    color: var(--rose-gold-dark);
    font-weight: 700;
    text-align: center;
}

.agenda-confirmation-card-body {
    flex: 1;
}

.agenda-confirmation-card-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-confirmation-card-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.agenda-confirmation-card-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
}

.agenda-confirmation-card-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 400;
    flex: 1;
    word-wrap: break-word;
}

.agenda-confirmation-card-footer {
    padding-top: 15px;
    border-top: 2px solid var(--beige);
}

.agenda-btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 12px;
    transition: var(--transition-medium);
}

.agenda-btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.agenda-btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ============================================
   TICKETS SECTION
   ============================================ */
.agenda-tickets-subtabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.agenda-subtab {
    padding: 10px 20px;
    border: 2px solid var(--beige-dark);
    background: var(--beige-light);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-medium);
}

.agenda-subtab:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold-dark);
}

.agenda-subtab.active {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
    color: var(--white);
}

.agenda-ticket-panel {
    display: none;
    padding: 20px 0;
}

.agenda-ticket-panel.active {
    display: block;
}

.agenda-ticket-total-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: var(--beige);
    border-radius: 12px;
    font-size: 1.2rem;
}

.agenda-ticket-total-label {
    font-weight: 600;
    color: var(--text-dark);
}

.agenda-ticket-total-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-right: 20px;
}

.agenda-checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.agenda-payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.ticket-payment-breakdown {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--beige-dark);
}

.ticket-payment-amount-rows .ticket-payment-amount-row {
    margin-bottom: 10px;
}

.ticket-payment-amount-row .agenda-input {
    max-width: 140px;
}

.ticket-print-payment span#ticket-print-payment {
    display: block;
    white-space: normal;
}

.ticket-attendee-block {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--beige-light);
    border-radius: 12px;
    border: 1px solid var(--beige-dark);
}

.ticket-attendee-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--beige-dark);
}

.ticket-attendee-block-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.ticket-print-attendee-block {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.ticket-print-attendee-block:last-child {
    margin-bottom: 0;
}

.agenda-label-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 4px 0 8px 0;
}

.ticket-print-products-title {
    font-size: 9pt;
    font-weight: 600;
    color: #000;
    margin: 8px 0 4px 0;
    text-align: left;
}

.agenda-ticket-other-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-other-service-row,
.agenda-ticket-other-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.ticket-other-service-row .ticket-other-service-name,
.ticket-other-service-row .ticket-other-service-price {
    flex: 1;
    min-width: 120px;
}

.ticket-other-service-row .ticket-other-service-price {
    max-width: 100px;
}

.ticket-preview-modal-content {
    max-width: calc(var(--ticket-roll-width) + 48px);
}

.ticket-preview-content {
    background: var(--beige-light);
    border-radius: 8px;
    padding: 4mm 4mm 6mm 4mm;
    margin: 16px auto;
    text-align: center;
    width: var(--ticket-roll-width);
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--beige-dark);
    font-size: 10pt;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.ticket-preview-content .ticket-preview-inner {
    font-size: 0.9rem;
}

.ticket-preview-content .ticket-print-service-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
}

.ticket-preview-content .ticket-print-folio-num {
    font-size: 1.15em;
    font-weight: 700;
}

.ticket-preview-content .ticket-print-total {
    font-size: 1.25rem;
    text-align: center;
    margin: 10px 0 6px;
}

.ticket-preview-content .ticket-print-footer-thanks,
.ticket-preview-content .ticket-print-footer-line,
.ticket-preview-content .ticket-print-footer-phrase,
.ticket-preview-content .ticket-print-footer-ig {
    text-align: center;
    margin-top: 6px;
}

.ticket-preview-content .ticket-print-footer-phrase {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-top: 10px;
}

.ticket-preview-content .ticket-print-logo {
    margin-bottom: 4px;
}

.ticket-preview-content .ticket-print-brand {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    color: #111;
    margin: 0 0 4px;
    line-height: 1.2;
}

.ticket-preview-content .ticket-print-subtitle {
    font-size: 0.85rem;
    color: #333;
    margin: 0 0 2px;
}

.ticket-preview-content .ticket-print-whatsapp {
    font-size: 0.85rem;
    color: #333;
    margin: 14px 0 10px;
}

.ticket-preview-content .ticket-print-services {
    text-align: left;
    margin: 8px 0;
}

.ticket-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.agenda-form-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.agenda-ticket-history-daynav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px 0;
    padding: 16px 20px;
    background: var(--beige);
    border-radius: 12px;
    border-left: 4px solid var(--rose-gold);
}

.agenda-ticket-history-day-display {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 220px;
    min-width: 200px;
}

.agenda-ticket-history-day-label {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: capitalize;
    line-height: 1.3;
}

#ticket-history-view-date {
    max-width: 180px;
}

#ticket-history-today-btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.agenda-ticket-history-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.agenda-ticket-history-filters .agenda-filter-group {
    margin-bottom: 0;
    min-width: 160px;
}

#ticket-filter-collaborator {
    min-width: 180px;
}

#ticket-history-result-hint {
    margin: 0 0 16px 0;
}

.agenda-ticket-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-ticket-history-item {
    display: grid;
    grid-template-columns: 90px minmax(110px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) 90px auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige-dark);
}

.agenda-ticket-history-folio {
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-ticket-history-date,
.agenda-ticket-history-client,
.agenda-ticket-history-attended {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.agenda-ticket-history-total {
    font-weight: 600;
    color: var(--text-dark);
}

.agenda-ticket-history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.agenda-ticket-history-comments {
    grid-column: 1 / -1;
    font-size: 0.88rem;
    color: var(--text-medium);
    background: var(--beige);
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1.4;
}

.agenda-ticket-edit-banner {
    margin: 0 0 16px 0;
    padding: 12px 16px;
    background: var(--beige);
    border-radius: 10px;
    border-left: 4px solid var(--rose-gold);
    color: var(--text-dark);
    font-weight: 500;
}

.agenda-month-input {
    max-width: 180px;
    width: 180px;
    position: relative;
    overflow: hidden;
}

.agenda-month-input::-webkit-calendar-picker-indicator {
    position: static !important;
    width: 1.1rem !important;
    height: 1.1rem !important;
    margin: 0;
    padding: 0;
    opacity: 1;
    cursor: pointer;
    background: transparent;
}

.agenda-report-compare-value {
    font-size: 1.45rem;
}

.agenda-report-compare-delta {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
}

.agenda-report-compare-delta.is-up {
    color: #2e7d32;
}

.agenda-report-compare-delta.is-down {
    color: #c62828;
}

.agenda-btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.agenda-report-week-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 24px;
}

.agenda-report-week-selector .agenda-label {
    margin-bottom: 4px;
}

.agenda-report-year-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 24px;
}

.agenda-report-year-selector .agenda-label {
    margin-bottom: 4px;
}

.agenda-report-week-range {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0 20px 0;
    padding: 12px 16px;
    background: var(--beige);
    border-radius: 10px;
    border-left: 4px solid var(--rose-gold);
}

.agenda-report-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--rose-gold-light), var(--beige));
    border-radius: 16px;
    text-align: center;
}

.agenda-report-total-sales {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 220px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
}

.agenda-report-total-label {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 500;
}

.agenda-report-total-hint {
    font-size: 0.8rem;
    color: var(--text-light);
}

.agenda-report-total-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-report-total-payroll {
    background: rgba(255, 255, 255, 0.75);
}

.agenda-report-payroll-hint {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.agenda-report-payroll-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.agenda-report-payroll-header .agenda-report-products-title {
    margin: 0;
}

#export-payroll-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

#export-payroll-pdf-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.agenda-report-payroll-table th,
.agenda-report-payroll-table td {
    font-size: 0.88rem;
    padding: 10px 12px;
    white-space: nowrap;
}

.agenda-payroll-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    min-width: 0;
}

.agenda-payroll-card {
    min-width: 0;
    border: 1px solid var(--beige-dark);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
}

.agenda-payroll-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 12px;
    background: var(--beige-light);
    border-bottom: 1px solid var(--beige-dark);
}

.agenda-payroll-card-name {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    line-height: 1.2;
}

.agenda-payroll-card-scheme {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: var(--text-light);
}

.agenda-payroll-fields {
    display: flex;
    flex-direction: column;
}

.agenda-payroll-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--beige);
    min-width: 0;
}

.agenda-payroll-field:last-child {
    border-bottom: none;
}

.agenda-payroll-field-label {
    flex: 0 1 auto;
    font-size: 0.82rem;
    color: var(--text-medium);
}

.agenda-payroll-field-value {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 500;
}

.agenda-payroll-empty {
    margin: 0;
    padding: 16px;
    color: var(--text-light);
}

.agenda-payroll-totals {
    margin-top: 16px;
    border: 1px solid var(--rose-gold);
    border-radius: 12px;
    background: var(--beige);
    overflow: hidden;
}

.agenda-payroll-totals-title {
    margin: 0;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    border-bottom: 1px solid rgba(183, 110, 121, 0.25);
}

.agenda-payroll-totals .agenda-payroll-field {
    border-bottom-color: rgba(183, 110, 121, 0.18);
}

.agenda-payroll-days-input {
    width: 5.25rem;
    min-width: 4.75rem;
    padding: 6px 8px;
    font-size: 0.88rem;
}

.agenda-payroll-days-input.is-invalid {
    border-color: #c62828;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15);
}

.agenda-payroll-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    height: 2.15rem;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: #25D366;
    color: #fff;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.agenda-payroll-whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.35);
}

.agenda-payroll-whatsapp-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.agenda-payroll-saturday-label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

.agenda-payroll-saturday-input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    cursor: pointer;
    accent-color: var(--rose-gold);
}

.agenda-payroll-na {
    color: var(--text-light);
}

.agenda-payroll-rate {
    font-size: 0.8rem;
    color: var(--text-light);
}

.agenda-report-payroll-total {
    font-weight: 700;
    color: var(--rose-gold-dark, #9a5c66);
}

.agenda-report-payroll-table tfoot td {
    font-weight: 700;
    background: var(--beige);
    border-top: 2px solid var(--rose-gold);
    border-bottom: none;
}

.agenda-payroll-unmatched-row {
    background: rgba(183, 110, 121, 0.06);
}

.agenda-payroll-unmatched-tag {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

.agenda-payroll-has-discrepancy {
    border-color: #c47a2c;
    box-shadow: 0 0 0 1px rgba(196, 122, 44, 0.35);
}

.agenda-payroll-discrepancy {
    margin: 0;
    padding: 10px 16px;
    background: #fff4e5;
    color: #7a4a12;
    font-size: 0.82rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(196, 122, 44, 0.28);
}

.agenda-payroll-discrepancy strong {
    font-weight: 600;
}

.agenda-payroll-breakdown-btn {
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.agenda-payroll-breakdown-btn:hover:not(:disabled) {
    color: var(--rose-gold-dark, #9a5c66);
}

.agenda-payroll-breakdown-btn:disabled {
    text-decoration: none;
    cursor: default;
    opacity: 1;
}

.agenda-report-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige-dark);
}

#report-by-collaborator.agenda-report-table-wrapper {
    padding: 24px;
    background: var(--white);
    margin-top: 24px;
    overflow-x: visible;
}

#report-by-collaborator .agenda-report-payroll-hint {
    margin-bottom: 16px;
}

.agenda-report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.agenda-report-table th,
.agenda-report-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--beige-dark);
}

.agenda-report-table th {
    background: var(--rose-gold);
    color: var(--white);
    font-weight: 600;
}

.agenda-report-table tbody tr:last-child td {
    border-bottom: none;
}

.agenda-report-table tbody tr:hover {
    background: var(--beige-light);
}

.agenda-report-products-summary {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--beige-dark);
}

.agenda-monthly-weeks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    outline: none;
}

.agenda-monthly-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.agenda-monthly-week-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--beige-dark);
    border-radius: 50%;
    background: var(--white);
    color: var(--rose-gold-dark);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.agenda-monthly-week-arrow:hover:not(:disabled) {
    background: var(--beige-light);
    transform: scale(1.05);
}

.agenda-monthly-week-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.agenda-monthly-week-nav-label {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-monthly-weeks-viewport {
    overflow: hidden;
    width: 100%;
    transition: height 0.35s ease;
}

.agenda-monthly-weeks-track {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.agenda-monthly-weeks-track.is-ready {
    transition: transform 0.35s ease;
}

.agenda-monthly-week {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--beige-dark);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
}

.agenda-monthly-week-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 14px 16px;
    background: var(--beige-light);
}

.agenda-monthly-week-title {
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-monthly-week-kpis {
    font-size: 0.88rem;
    color: var(--text-medium);
}

.agenda-monthly-week-body {
    padding: 16px;
    border-top: 1px solid var(--beige-dark);
}

@media (prefers-reduced-motion: reduce) {
    .agenda-monthly-weeks-track.is-ready,
    .agenda-monthly-weeks-viewport {
        transition: none;
    }
}

.agenda-monthly-week-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.agenda-monthly-week-metrics {
    margin-bottom: 16px;
    border: 1px solid var(--beige);
    border-radius: 10px;
    overflow: hidden;
}

.agenda-monthly-week-collab-title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-report-payment-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.3fr);
    gap: 56px;
    align-items: start;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--beige-dark);
}

.agenda-report-payment-block .agenda-report-products-title {
    margin-bottom: 8px;
}

.agenda-report-payment-block .agenda-report-payroll-hint {
    margin-bottom: 12px;
}

.agenda-report-payment-block .agenda-report-products-table {
    max-width: 100%;
}

#report-transfer-tickets-wrap {
    padding-left: 28px;
    border-left: 1px solid var(--beige-dark);
}

.agenda-report-transfer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.agenda-report-transfer-empty {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.agenda-report-transfer-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--beige-dark);
    border-radius: 10px;
    background: var(--white);
}

.agenda-report-transfer-item.is-reviewed {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(32, 186, 90, 0.35);
}

.agenda-report-transfer-meta {
    min-width: 0;
}

.agenda-report-transfer-folio {
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-report-transfer-details {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    color: var(--text-medium);
}

.agenda-report-transfer-amount {
    display: block;
    margin-top: 2px;
    font-weight: 600;
}

.agenda-report-transfer-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
}

.agenda-report-transfer-review input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    cursor: pointer;
    accent-color: #25D366;
}

@media (max-width: 900px) {
    .agenda-report-payment-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #report-transfer-tickets-wrap {
        padding-left: 0;
        padding-top: 28px;
        border-left: none;
        border-top: 1px solid var(--beige-dark);
    }
}

.agenda-report-products-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    margin-bottom: 16px;
}

.agenda-report-products-table {
    max-width: 400px;
}

.agenda-report-breakdown-wrap {
    margin-top: 20px;
}

.agenda-report-breakdown-wrap .agenda-report-products-title {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.agenda-report-breakdown-scroll {
    overflow-x: auto;
    border: 1px solid var(--beige-dark);
    border-radius: 12px;
    background: var(--white);
}

.agenda-report-breakdown-table {
    max-width: none;
    width: max-content;
    min-width: 100%;
    margin: 0;
    table-layout: auto;
}

.agenda-report-breakdown-table th,
.agenda-report-breakdown-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.agenda-report-breakdown-table tfoot td {
    font-weight: 700;
    background: var(--beige);
    border-top: 2px solid var(--rose-gold);
}

.agenda-report-breakdown-empty {
    margin: 12px 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.agenda-report-breakdown-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.agenda-report-breakdown-items li + li {
    margin-top: 4px;
}

#report-breakdown-modal .agenda-modal-content.agenda-report-breakdown-modal-content {
    width: fit-content;
    max-width: calc(100vw - 3rem);
    min-width: min(36rem, calc(100vw - 3rem));
    overflow-x: hidden;
}

#report-breakdown-modal .agenda-report-breakdown-scroll {
    overflow-x: auto;
}

#report-breakdown-modal .agenda-report-breakdown-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

#report-breakdown-modal .agenda-report-table th,
#report-breakdown-modal .agenda-report-table td {
    padding: 12px 16px;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.agenda-report-breakdown-body {
    margin-top: 8px;
}

#report-breakdown-subtitle {
    margin: 0 0 8px;
}

/* Reporte anual: contenedor de gráficas */
.agenda-report-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.agenda-report-chart-row-last {
    grid-column: 1 / -1;
    display: flex;
    gap: 24px;
    align-items: stretch;
    min-width: 0;
}

.agenda-report-chart-row-last > .agenda-report-chart-card {
    flex: 0 0 320px;
    min-width: 280px;
}

.agenda-report-chart-row-last > .agenda-report-top-services {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
}

@media (max-width: 768px) {
    .agenda-report-chart-row-last {
        flex-direction: column;
    }
    .agenda-report-chart-row-last > .agenda-report-chart-card {
        flex: 0 0 auto;
        min-width: 0;
    }
    .agenda-report-chart-row-last > .agenda-report-top-services {
        margin-top: 0;
    }
}

.agenda-report-chart-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige-dark);
}

.agenda-report-chart-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    margin: 0 0 16px 0;
}

.agenda-report-chart-wrap {
    position: relative;
    min-height: 260px;
    width: 100%;
}

.agenda-report-chart-wrap canvas {
    max-height: 280px;
}

.agenda-report-top-services {
    margin-top: 32px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--beige-dark);
}

.agenda-report-top-services .agenda-report-chart-title {
    margin-bottom: 16px;
}

.agenda-report-top-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.agenda-report-top-services-list li {
    padding: 10px 14px;
    border-bottom: 1px solid var(--beige-dark);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.agenda-report-top-services-list li:last-child {
    border-bottom: none;
}

.agenda-report-top-services-rank {
    font-weight: 700;
    color: var(--rose-gold-dark);
    min-width: 24px;
}

.agenda-report-top-services-count {
    margin-left: auto;
    font-weight: 600;
    color: var(--rose-gold);
    font-size: 0.95rem;
}

.agenda-report-top-services-empty {
    color: var(--text-medium);
    font-style: italic;
}

/* Ticket: rollo 80 mm (impresora térmica), márgenes laterales internos */
.ticket-print-area {
    width: 80mm;
    max-width: 80mm;
    box-sizing: border-box;
    padding: 4mm 4mm 6mm 4mm;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 10pt;
    line-height: 1.35;
    color: #000;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.ticket-print-content {
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.ticket-print-logo {
    margin-bottom: 2px;
}

.ticket-print-logo-img {
    display: block;
    margin: 0 auto 2px;
    max-width: 100%;
    height: auto;
    max-height: 18mm;
    object-fit: contain;
}

.ticket-print-subtitle {
    font-size: 9pt;
    color: #333;
    margin-bottom: 10px;
}

.ticket-print-folio,
.ticket-print-date,
.ticket-print-client,
.ticket-print-attended {
    font-size: 9.5pt;
    margin-bottom: 4px;
    color: #000;
    text-align: left;
}

.ticket-print-hr {
    border: none;
    border-top: 1px dashed #666;
    margin: 8px 0;
}

.ticket-print-services {
    text-align: left;
    font-size: 9pt;
    margin-bottom: 6px;
}

.ticket-print-service-line {
    margin-bottom: 3px;
    color: #000;
    overflow-wrap: anywhere;
}

.ticket-print-total {
    font-size: 11pt;
    font-weight: 700;
    color: #000;
    margin-top: 6px;
    display: block;
}

.ticket-print-tip,
.ticket-print-payment {
    font-size: 8.5pt;
    margin-top: 4px;
    color: #333;
    text-align: left;
}

@media print {
    /* Debe coincidir con --ticket-roll-width; altura fija (no `auto`) para que Chrome no use página carta */
    @page {
        size: 58mm 220mm;
        margin: 0;
    }
    body * {
        visibility: hidden;
    }
    .ticket-print-area,
    .ticket-print-area * {
        visibility: visible;
    }
    .ticket-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: var(--ticket-roll-width);
        max-width: var(--ticket-roll-width);
        margin: 0;
        padding: 4mm 4mm 6mm 4mm;
        box-sizing: border-box;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .agenda-ticket-history-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .agenda-ticket-history-item .agenda-ticket-history-folio {
        font-size: 1rem;
    }
    .agenda-ticket-history-item .agenda-ticket-history-date,
    .agenda-ticket-history-item .agenda-ticket-history-client,
    .agenda-ticket-history-item .agenda-ticket-history-attended {
        font-size: 0.85rem;
    }
    .agenda-ticket-history-item .agenda-ticket-history-actions {
        justify-self: start;
    }
    .agenda-confirmations-container {
        grid-template-columns: 1fr;
    }
    
    .agenda-confirmation-card-header {
        flex-direction: column;
    }
    
    .agenda-confirmation-card-time-badge {
        align-self: flex-start;
    }
}

/* Calendar View */
.agenda-calendar-view {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    margin-top: 30px;
}

.agenda-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--beige-dark);
}

.agenda-calendar-nav-btn {
    background: var(--rose-gold);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: bold;
}

.agenda-calendar-nav-btn:hover {
    background: var(--rose-gold-dark);
    transform: scale(1.05);
}

.agenda-calendar-date-display {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    text-transform: capitalize;
}

.agenda-calendar-timeline {
    display: flex;
    position: relative;
    /* 22 medias horas (8:00–19:00); ~1.5× altura mínima de tarjeta por media hora (compromiso entre legibilidad y menos scroll) */
    min-height: calc(22 * 1.5 * 80px);
}

.agenda-time-column {
    width: 80px;
    flex-shrink: 0;
    position: relative;
    padding-right: 15px;
}

.agenda-time-label {
    position: absolute;
    right: 0;
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 500;
    transform: translateY(-50%);
    white-space: nowrap;
}

.agenda-time-label-hour {
    font-weight: 600;
    color: var(--text-dark);
}

.agenda-time-label-half {
    font-size: 0.75rem;
    color: var(--text-light);
}

.agenda-time-compact {
    display: none;
}

.agenda-appointments-column {
    flex: 1;
    position: relative;
    border-left: 2px solid var(--beige-dark);
    padding-left: 15px;
}

.agenda-time-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.agenda-time-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid var(--beige);
    width: 100%;
}

.agenda-time-line-hour {
    border-top-width: 2px;
    border-top-color: var(--beige-dark);
}

.agenda-time-line-half {
    border-top-style: dashed;
    border-top-color: var(--beige-light);
}

.agenda-appointments-overlay {
    position: relative;
    min-height: calc(22 * 1.5 * 80px);
    width: 100%;
}

.agenda-block-collaborators-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 240px;
    overflow-y: auto;
    padding: 12px 14px;
    border: 1px solid var(--beige-dark);
    border-radius: 10px;
    background: var(--cream);
}

.agenda-block-collaborators-list .agenda-block-collab-cb {
    margin: 0;
}

.agenda-collaborator-column {
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 0 5px;
}

.agenda-calendar-appointment-card {
    position: absolute;
    left: 5px;
    right: 5px;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border: 2px solid var(--rose-gold);
    border-radius: 10px;
    padding: 6px 7px 7px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition-fast);
    overflow: hidden;
    min-height: 80px;
    box-sizing: border-box;
}

.agenda-calendar-appointment-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateX(3px);
    z-index: 10;
}

.agenda-calendar-card-header {
    position: absolute;
    top: 4px;
    right: 5px;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin: 0;
    flex-shrink: 0;
    pointer-events: auto;
}

.agenda-calendar-card-actions {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.agenda-calendar-card-btn {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--beige-dark);
    font-size: 0.72rem;
    line-height: 1;
    cursor: pointer;
    padding: 3px 5px;
    border-radius: 5px;
    transition: var(--transition-fast);
    opacity: 0.88;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.agenda-calendar-card-btn:hover {
    opacity: 1;
    background: var(--beige-light);
}

.agenda-calendar-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

/* Primary Information */
.agenda-calendar-card-primary {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agenda-calendar-card-main-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agenda-calendar-card-client-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    line-height: 1.25;
}

.agenda-calendar-card-client-primary {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.agenda-calendar-card-time-primary {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
}

.agenda-calendar-card-service-primary {
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.35;
    word-wrap: break-word;
}

.agenda-calendar-card-collaborator-primary {
    display: inline-block;
    padding: 2px 8px;
    background: var(--rose-gold-light);
    color: var(--rose-gold-dark);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    width: fit-content;
}

/* Secondary Information */
.agenda-calendar-card-secondary {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 6px;
    border-top: 1px solid var(--beige);
    opacity: 0.7;
}

.agenda-calendar-card-field-secondary {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: baseline;
}

.agenda-calendar-card-label-secondary {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    min-width: fit-content;
}

.agenda-calendar-card-value-secondary {
    font-size: 0.75rem;
    color: var(--text-medium);
    word-wrap: break-word;
    line-height: 1.4;
    font-family: monospace;
}

.agenda-calendar-card-notes {
    margin-top: 2px;
    padding-top: 4px;
    border-top: 1px solid var(--beige-light);
}

.agenda-calendar-card-notes .agenda-calendar-card-value-secondary {
    font-size: 0.7rem;
    color: var(--text-medium);
    font-style: italic;
    font-weight: bold;
    white-space: pre-wrap;
    font-family: var(--font-body);
}

.agenda-calendar-empty {
    text-align: center;
    padding: 100px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .agenda-calendar-view {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin-top: 16px;
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
    }

    .agenda-calendar-header {
        margin-bottom: 12px;
        padding: 0 10px 12px;
    }

    .agenda-calendar-date-display {
        font-size: 1.05rem;
        text-align: center;
        line-height: 1.25;
        padding: 0 6px;
    }

    .agenda-calendar-view .agenda-calendar-nav-btn {
        padding: 8px 12px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .agenda-time-column {
        width: 28px;
        padding-right: 2px;
    }

    .agenda-time-label {
        font-size: 0.68rem;
        right: 1px;
    }

    .agenda-time-label-hour {
        font-weight: 600;
    }

    .agenda-time-full {
        display: none;
    }

    .agenda-time-compact {
        display: inline;
    }

    .agenda-appointments-column {
        padding-left: 4px;
        border-left-width: 1px;
    }

    .agenda-calendar-appointment-card {
        left: 1px;
        right: 2px;
        padding: 5px 6px 6px;
        border-radius: 8px;
        border-width: 1.5px;
    }

    .agenda-calendar-appointment-card:hover {
        transform: none;
    }

    .agenda-calendar-empty {
        padding: 48px 16px;
    }
}

/* Filter Services */
.agenda-filter-services-group {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--beige);
    grid-column: 1 / -1;
}

.agenda-filter-services-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: var(--cream);
    border-radius: 12px;
    border: 2px solid var(--beige-dark);
    margin-top: 10px;
}

.agenda-filter-service-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.agenda-filter-service-category:first-child {
    margin-top: 0;
}

.agenda-filter-category-icon {
    font-size: 1.2rem;
}

.agenda-filter-category-name {
    font-family: var(--font-heading);
}

.agenda-filter-service-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.agenda-filter-service-item {
    display: flex;
    align-items: center;
}

.agenda-filter-service-checkbox {
    margin-right: 8px;
    cursor: pointer;
}

.agenda-filter-service-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
}

/* Modals */
.agenda-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

/* Modales que deben aparecer por encima del modal de detalle */
#permission-modal,
#add-vacation-modal,
#salary-change-modal {
    z-index: 10002;
}

.agenda-payroll-salary-btn {
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.agenda-payroll-salary-btn:hover {
    color: var(--rose-gold-dark, #9a5c66);
}

.agenda-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.agenda-modal-content {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-strong);
    animation: fadeInUp 0.4s ease;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.agenda-success-icon {
    width: 80px;
    height: 80px;
    background: var(--rose-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    font-weight: 600;
}

/* Botón de aceptar en modal de éxito - 100% ancho */
#success-modal #close-success-modal {
    width: 100%;
    margin: 0;
    margin-top: 25px;
    box-sizing: border-box;
}

.agenda-conflict-icon {
    width: 80px;
    height: 80px;
    background: #ff9800;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    font-weight: 600;
}

.agenda-auth-alert-icon {
    width: 80px;
    height: 80px;
    background: #e65100;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.agenda-auth-alert-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.agenda-auth-error {
    color: #c62828;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin: 12px 0 0;
}

.agenda-conflict-details {
    background: var(--beige-light);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #ff9800;
}

.agenda-conflict-info {
    display: grid;
    gap: 12px;
}

.agenda-conflict-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--beige);
}

.agenda-conflict-item:last-child {
    border-bottom: none;
}

.agenda-conflict-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-conflict-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

/* Outside Hours Modal */
.agenda-outside-hours-icon {
    width: 80px;
    height: 80px;
    background: #ff9800;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    font-weight: 600;
}

.agenda-outside-hours-message {
    background: #fff3cd;
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
    color: #856404;
    font-size: 0.95rem;
    display: none;
}

.agenda-outside-hours-display {
    background: linear-gradient(135deg, var(--rose-gold-light) 0%, var(--beige) 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 25px 0;
    text-align: center;
    border: 2px solid var(--rose-gold);
}

.agenda-day-display {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.agenda-time-display {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--rose-gold-dark);
    font-weight: 600;
    letter-spacing: 2px;
}

.agenda-modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
}

/* Detail Modal Styles */
.agenda-detail-modal-content {
    max-width: 600px;
}

.agenda-detail-modal-actions {
    flex-wrap: wrap;
    gap: 10px;
}

.agenda-detail-resend-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-color: #128C7E;
    color: #128C7E;
}

.agenda-detail-resend-btn:hover {
    background: rgba(18, 140, 126, 0.1);
    border-color: #075E54;
    color: #075E54;
}

.agenda-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--beige);
    position: relative;
    pointer-events: auto;
}

.agenda-detail-header .agenda-modal-title {
    flex: 1;
    margin-right: 15px;
}

.agenda-detail-header .agenda-modal-close-btn {
    pointer-events: auto;
}

.agenda-modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.agenda-modal-close-btn:hover {
    background: var(--beige-light);
    color: var(--text-dark);
}

.agenda-detail-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-x: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
}

.agenda-detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    overflow-x: hidden;
    word-wrap: break-word;
}

.agenda-detail-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agenda-detail-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.agenda-detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 400;
    word-wrap: break-word;
}

.agenda-detail-id {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

.agenda-detail-client {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.agenda-detail-collaborator {
    display: inline-block;
    padding: 6px 14px;
    background: var(--rose-gold-light);
    color: var(--rose-gold-dark);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
}

.agenda-detail-services-field {
    margin-top: 5px;
}

.agenda-detail-services {
    margin-top: 8px;
}

.agenda-detail-notes-section {
    padding-top: 15px;
    border-top: 2px solid var(--beige);
}

.agenda-detail-notes {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: bold;
    font-style: italic;
    white-space: pre-wrap;
    line-height: 1.6;
    padding: 12px;
    background: var(--cream);
    border-radius: 10px;
    border-left: 3px solid var(--rose-gold);
}

.agenda-modal-text {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 10px;
    font-size: 1rem;
}

.agenda-modal-subtext {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.agenda-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

/* Employee Detail Modal Actions - 2 rows, 2 columns */
#employee-detail-modal .agenda-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

#employee-detail-modal .agenda-modal-actions .agenda-btn {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    min-width: 0;
    flex: none;
    max-width: none;
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.agenda-modal-actions .agenda-btn {
    flex: 1;
    max-width: 200px;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --agenda-header-height: 56px;
    }

    .agenda-login-card {
        padding: 35px 25px;
    }
    
    .agenda-header {
        padding: 0;
        min-height: var(--agenda-header-height);
    }

    .agenda-header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        text-align: left;
        min-height: var(--agenda-header-height);
        padding: 0 12px 0 16px;
    }

    .agenda-header-title {
        font-size: 1.35rem;
        letter-spacing: 3px;
        line-height: 1.1;
    }

    .agenda-header-title-full {
        display: none;
    }

    .agenda-header-title-short {
        display: inline;
    }

    .agenda-header-logout {
        display: none;
    }

    .agenda-menu-toggle {
        display: flex;
    }

    .agenda-main {
        padding: 16px 0;
    }

    .agenda-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(40, 30, 32, 0.4);
        z-index: 105;
        border: none;
    }

    body.agenda-menu-open .agenda-nav-overlay {
        display: block;
    }

    body.agenda-menu-open {
        overflow: hidden;
    }

    .agenda-nav-panel {
        display: none;
        position: fixed;
        top: var(--agenda-header-height);
        left: 0;
        right: 0;
        z-index: 110;
        flex-direction: column;
        background: var(--white);
        max-height: calc(100dvh - var(--agenda-header-height));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px 0 16px;
        box-shadow: var(--shadow-medium);
    }

    body.agenda-menu-open .agenda-nav-panel {
        display: flex;
    }

    .agenda-tabs-carousel {
        margin-bottom: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .agenda-tabs-nav {
        display: none;
    }

    .agenda-tabs-scroll {
        overflow: visible;
        border-bottom: none;
    }

    .agenda-tabs-inner {
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        gap: 0;
        align-items: stretch;
        padding: 0;
        min-height: 0;
    }

    .agenda-tab {
        width: 100%;
        text-align: left;
        padding: 14px 20px;
        margin: 0;
        border-bottom: 1px solid var(--beige-dark);
        border-left: 3px solid transparent;
        white-space: normal;
        letter-spacing: 0.6px;
    }

    .agenda-tab.active {
        background: rgba(183, 110, 121, 0.1);
        border-bottom-color: var(--beige-dark);
        border-left-color: var(--rose-gold);
    }

    .agenda-mobile-logout {
        display: block;
        width: calc(100% - 32px);
        max-width: none;
        margin: 20px 16px 8px;
        box-sizing: border-box;
    }
    
    .agenda-form {
        padding: 25px 20px;
    }
    
    .agenda-form-row {
        grid-template-columns: 1fr;
    }
    
    .agenda-filters-container {
        padding: 20px;
    }
    
    .agenda-filters {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .agenda-filter-actions {
        min-height: 0;
    }
    
    .agenda-filter-actions .agenda-btn-filter {
        align-self: stretch;
        width: 100%;
    }
    
    .agenda-appointment-body {
        grid-template-columns: 1fr;
    }
    
    .agenda-modal-content {
        padding: 30px 20px;
    }
    
    .agenda-modal-actions {
        flex-direction: column;
    }
    
    .agenda-modal-actions .agenda-btn {
        max-width: none;
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.agenda-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.agenda-section-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.agenda-products-summary {
    margin-bottom: 30px;
}

.agenda-summary-card {
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.agenda-summary-icon {
    font-size: 3rem;
    line-height: 1;
}

.agenda-summary-content {
    flex: 1;
}

.agenda-summary-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-summary-value {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.agenda-products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agenda-product-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    border: 1px solid var(--beige);
}

.agenda-product-item:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--rose-gold-light);
}

.agenda-product-item-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    gap: 20px;
}

.agenda-product-item-main {
    flex: 1;
}

.agenda-product-item-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.agenda-product-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.agenda-product-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.agenda-product-detail strong {
    color: var(--text-dark);
    font-weight: 600;
}

.agenda-product-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.agenda-product-item-actions .agenda-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition-fast);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    opacity: 0.8;
}

.agenda-product-item-actions .agenda-btn-icon:hover {
    opacity: 1;
    background: var(--beige-light);
    transform: scale(1.05);
}

.agenda-product-item-actions .agenda-btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.agenda-product-item-actions .agenda-btn-edit-product:hover {
    background: var(--beige-light);
    color: var(--rose-gold);
}

.agenda-product-item-actions .agenda-btn-delete-product:hover {
    background: #ffebee;
    color: #d32f2f;
}

/* Sale Modal Styles */
.agenda-sale-item {
    background: var(--beige-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--beige);
}

.agenda-sale-item-content {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.agenda-sale-item-actions {
    display: flex;
    align-items: center;
}

.agenda-sale-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--beige-light);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--beige);
}

.agenda-sale-total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.agenda-sale-total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rose-gold);
    font-family: var(--font-heading);
}

.agenda-sale-profit {
    color: #4caf50;
}

@media (max-width: 768px) {
    .agenda-section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .agenda-section-actions {
        width: 100%;
    }
    
    .agenda-section-actions .agenda-btn {
        flex: 1;
    }
    
    .agenda-product-item-content {
        flex-direction: column;
    }
    
    .agenda-product-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .agenda-sale-item-content {
        grid-template-columns: 1fr;
    }
    
    .agenda-summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .agenda-summary-value {
        font-size: 2rem;
    }
}

/* Lista de precios — editor en agenda (admin) */
.price-list-admin-root {
    max-width: 960px;
}

.plc-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.plc-cat-card {
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.plc-cat-meta-row {
    align-items: flex-end;
}

.plc-cat-name-grow {
    flex: 1;
    min-width: 160px;
}

.plc-items-head {
    display: grid;
    grid-template-columns: 1fr 120px 44px;
    gap: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #666);
    margin: 16px 0 8px;
    padding: 0 4px;
}

.plc-item-row {
    display: grid;
    grid-template-columns: 1fr 120px 44px;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.plc-admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.plc-visible-row {
    margin: 12px 0 0;
}

.agenda-modal-title-error {
    color: #b71c1c;
}

.plc-add-category-services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plc-add-cat-svc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: flex-end;
}

.plc-add-cat-svc-remove-wrap {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .plc-add-cat-svc-row {
        grid-template-columns: 1fr;
    }
}

