/* WhatsApp Mobile Interface - Pure Mobile Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*:focus {
    outline: none;
}

html, body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: fixed;
    width: 100vw;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #0b141a;
    color: #e9edef;
    touch-action: manipulation;
    pointer-events: auto;
}

/* WhatsApp Header */
.whatsapp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #2a2f32;
    border-bottom: 1px solid #3b4043;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 12px;
    padding-top: env(safe-area-inset-top);
    pointer-events: auto;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.venue-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.avatar-container {
    position: relative;
    margin-right: 12px;
    overflow: visible;
}

.sparkle {
    position: absolute;
    width: 3mm;
    height: 3mm;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
}

.sparkle.active {
    animation: sparkleAnimation 1.6s ease-out;
}

@keyframes sparkleAnimation {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: scale(1) rotate(90deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(180deg);
    }
    75% {
        opacity: 0.6;
        transform: scale(0.8) rotate(270deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

.venue-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: visible;
    cursor: pointer;
    transition: transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 1.6s ease;
}

.venue-avatar.clicked {
    animation: avatarClickEffect 1.6s ease-out;
}

@keyframes avatarClickEffect {
    0% {
        transform: scale(1);
        filter: blur(0px) brightness(1);
    }
    25% {
        transform: scale(1.5);
        filter: blur(1px) brightness(1.2);
    }
    50% {
        transform: scale(2);
        filter: blur(2px) brightness(1.4);
    }
    75% {
        transform: scale(1.5);
        filter: blur(1px) brightness(1.2);
    }
    100% {
        transform: scale(1);
        filter: blur(0px) brightness(1);
    }
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #25D366;
    border: 2px solid #2a2f32;
    border-radius: 50%;
}

.venue-details {
    flex: 1;
}

.venue-title {
    color: #e9edef;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
}

.venue-salon {
    margin: 1px 0 2px 0;
}

.salon-link {
    color: #00e5ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
    animation: magicalGlow 3s ease-in-out infinite;
}

.salon-link:hover {
    color: #40e0d0;
    text-shadow: 0 0 16px rgba(52, 211, 153, 1), 0 0 24px rgba(16, 185, 129, 0.6);
    transform: scale(1.02);
}

@keyframes magicalGlow {
    0% {
        text-shadow: 0 0 12px rgba(52, 211, 153, 0.8), 0 0 20px rgba(16, 185, 129, 0.4);
    }
    50% {
        text-shadow: 0 0 16px rgba(52, 211, 153, 1), 0 0 28px rgba(16, 185, 129, 0.7), 0 0 36px rgba(5, 150, 105, 0.3);
    }
    100% {
        text-shadow: 0 0 12px rgba(52, 211, 153, 0.8), 0 0 20px rgba(16, 185, 129, 0.4);
    }
}

.facebook-link {
    color: #4267B2;
    font-size: 13px;
    filter: drop-shadow(0 0 4px rgba(66, 103, 178, 0.8));
}

.venue-name-link {
    font-size: 16px;
    font-weight: 600;
    color: #e9edef;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.venue-name-link:hover {
    color: #4267B2;
    text-shadow: 0 0 8px rgba(66, 103, 178, 0.6);
    transform: scale(1.02);
}

.venue-status {
    font-size: 12px;
    color: #8696a0;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 8px;
    z-index: 1001;
    pointer-events: auto;
}

.header-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #8696a0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    z-index: 1002;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
}

.header-btn:hover, .header-btn:active {
    background: rgba(255, 255, 255, 0.2);
    color: #e9edef;
    transform: scale(0.95);
}

.admin-btn {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    text-decoration: none;
}

.info-header-btn {
    background: rgba(0, 123, 255, 0.2) !important;
    color: #007bff !important;
}

.info-header-btn:hover, .info-header-btn:active {
    background: rgba(0, 123, 255, 0.3) !important;
    color: #0056b3 !important;
}

.admin-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    color: #667eea;
    text-decoration: none;
}

.crm-btn {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    text-decoration: none;
}

.costeo-btn {
    background: linear-gradient(135deg, #2d8f5c 0%, #4ade80 100%);
    color: white;
    text-decoration: none;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.costeo-btn:hover {
    background: linear-gradient(135deg, #4ade80 0%, #2d8f5c 100%);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 143, 92, 0.3);
}









/* Admin CRM Modal Styles - Top Positioned */
.admin-crm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    overflow-y: auto;
}

.admin-crm-modal.active {
    display: block;
}

.admin-crm-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 0 0 24px 24px;
    width: 100%;
    min-height: 100vh;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Authentication Panel - Top positioned to avoid keyboard */
.admin-auth-panel {
    padding: 60px 24px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 0 0 24px 24px;
    margin-bottom: 20px;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.auth-header h3 {
    color: white;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.close-admin-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-admin-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.auth-form {
    max-width: 300px;
    margin: 0 auto;
}

/* CRM Dashboard Styles */
.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #25D366, #20b358);
    margin-bottom: 20px;
}

.crm-header h2 {
    color: white;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* CRM Tabs Navigation */
.crm-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 20px 20px;
    border-radius: 12px;
    padding: 4px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #8b9dc3;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.tab-btn.active {
    background: linear-gradient(135deg, #25D366, #20b358);
    color: white;
    transform: scale(1.02);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #e9edef;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 0 20px 20px;
}

.tab-content.active {
    display: block;
}

/* Prospects Management Styles */
.prospects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.prospects-header h3 {
    color: #25D366;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.action-btn {
    background: linear-gradient(135deg, #25D366, #20b358);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* CRM Stats */
.crm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #25D366;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #8b9dc3;
    font-weight: 500;
}

/* Prospect Form Modal */
.prospect-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.prospect-form-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header {
    background: linear-gradient(135deg, #25D366, #20b358);
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-form {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-form:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.form-grid {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #25D366, #20b358);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #8b9dc3;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #e9edef;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 0 24px 24px;
}

/* Prospect Items */
.prospect-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prospect-info h4 {
    color: #e9edef;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.prospect-info p {
    color: #8b9dc3;
    margin: 4px 0;
    font-size: 14px;
}

.prospect-actions {
    display: flex;
    gap: 8px;
}

.action-btn-small {
    background: rgba(37, 211, 102, 0.2);
    border: none;
    color: #25D366;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn-small:hover {
    background: rgba(37, 211, 102, 0.3);
    transform: scale(1.05);
}

.action-btn-small.cancel {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.action-btn-small.cancel:hover {
    background: rgba(220, 53, 69, 0.3);
}

/* Prospect Management */
.prospect-management-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prospect-details h4 {
    color: #e9edef;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.prospect-details p {
    color: #8b9dc3;
    margin: 4px 0;
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.status-interested { background: rgba(40, 167, 69, 0.2); color: #28a745; }
.status-discarded { background: rgba(220, 53, 69, 0.2); color: #dc3545; }
.status-converted { background: rgba(37, 211, 102, 0.2); color: #25D366; }

.prospect-notes {
    font-style: italic;
    color: #6c757d !important;
}

.prospect-management-actions {
    display: flex;
    gap: 8px;
}

.status-btn {
    background: transparent;
    border: 2px solid;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.status-btn.interested {
    border-color: #28a745;
    color: #28a745;
}

.status-btn.interested:hover {
    background: #28a745;
    color: white;
}

.status-btn.discarded {
    border-color: #dc3545;
    color: #dc3545;
}

.status-btn.discarded:hover {
    background: #dc3545;
    color: white;
}

.status-btn.converted {
    border-color: #25D366;
    color: #25D366;
}

.status-btn.converted:hover {
    background: #25D366;
    color: white;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1a1a2e;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 30000;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

.notification-success {
    border-left-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-info {
    border-left-color: #17a2b8;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* No data states */
.no-appointments, .no-prospects {
    text-align: center;
    color: #8b9dc3;
    font-style: italic;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .crm-tabs {
        margin: 0 10px 20px;
    }
    
    .tab-btn {
        font-size: 12px;
        padding: 10px 6px;
    }
    
    .prospect-form-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .form-grid {
        padding: 16px;
    }
    
    .prospect-item, .prospect-management-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .prospect-actions, .prospect-management-actions {
        align-self: stretch;
        justify-content: space-around;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    color: #e9edef;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: #111b21;
    border: 1px solid #3b4a54;
    border-radius: 8px;
    color: #e9edef;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.admin-login-error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
    text-align: center;
}

.admin-login-error.show {
    display: block;
}

.admin-login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #25D366, #20b358);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.admin-login-btn:hover {
    transform: translateY(-1px);
}

.admin-login-btn:active {
    transform: translateY(0);
}

/* Admin Calendar Styles */
.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
}

.calendar-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.2);
    border: none;
    border-radius: 50%;
    color: #667eea;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

#currentMonthYear {
    color: #e9edef;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.admin-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #111b21;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.calendar-header {
    background: #667eea;
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.calendar-day {
    background: #2a2f32;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.calendar-day:hover {
    background: #3b4a54;
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    border: 2px solid #25D366;
}

.calendar-day.available {
    background: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.calendar-day.booked {
    background: rgba(220, 53, 69, 0.3);
    color: #dc3545;
    cursor: not-allowed;
}

.calendar-day.blocked {
    background: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.calendar-day-number {
    font-weight: 600;
    margin-bottom: 2px;
}

.calendar-day-status {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8696a0;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.available {
    background: rgba(40, 167, 69, 0.6);
}

.legend-color.booked {
    background: rgba(220, 53, 69, 0.6);
}

.legend-color.blocked {
    background: rgba(255, 193, 7, 0.6);
}

/* Calendar Actions */
.calendar-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn.add-booking {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.action-btn.add-booking:hover {
    background: rgba(40, 167, 69, 0.3);
}

.action-btn.block-date {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.action-btn.block-date:hover {
    background: rgba(255, 193, 7, 0.3);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .admin-modal-content {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .calendar-controls {
        padding: 0 5px;
    }
    
    #currentMonthYear {
        font-size: 16px;
    }
    
    .calendar-day {
        font-size: 12px;
    }
    
    .calendar-legend {
        gap: 15px;
    }
    
    .calendar-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Booking Modal Styles */
.booking-modal, .block-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 15000;
    backdrop-filter: blur(8px);
}

.booking-modal.active, .block-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.booking-modal-content, .block-modal-content {
    background: #2a2f32;
    border-radius: 12px;
    max-width: 500px;
    max-height: 95vh;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.booking-modal-header, .block-modal-header {
    background: linear-gradient(135deg, #25D366, #20b358);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.booking-modal-header h3, .block-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-booking-modal, .close-block-modal {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.close-booking-modal:hover, .close-block-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

.booking-modal-body, .block-modal-body {
    padding: 20px;
    max-height: calc(95vh - 100px);
    overflow-y: auto;
}

/* Form Styles */
.booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 0;
}

.booking-form-row .input-group {
    margin-bottom: 16px;
}

.input-group select, .input-group textarea {
    width: 100%;
    padding: 12px;
    background: #111b21;
    border: 1px solid #3b4a54;
    border-radius: 8px;
    color: #e9edef;
    font-size: 16px;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.input-group select:focus, .input-group textarea:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Actions */
.booking-form-actions, .block-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3b4a54;
}

.btn-cancel, .btn-save, .btn-block {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cancel {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.btn-cancel:hover {
    background: rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
}

.btn-save {
    background: linear-gradient(135deg, #25D366, #20b358);
    color: white;
}

.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-block {
    background: linear-gradient(135deg, #ffc107, #ff9500);
    color: white;
}

.btn-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Success/Error Messages */
.form-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Mobile Responsive for Forms */
@media (max-width: 480px) {
    .booking-modal-content, .block-modal-content {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .booking-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .booking-form-actions, .block-form-actions {
        flex-direction: column;
    }
    
    .btn-cancel, .btn-save, .btn-block {
        width: 100%;
    }
}

/* Calendar Consultation Styles */
.calendar-consultation-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #3b4a54;
}

.consultation-header {
    text-align: center;
    margin-bottom: 20px;
}

.consultation-header h4 {
    color: #25D366;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.consultation-header p {
    color: #8696a0;
    margin: 0;
    font-size: 14px;
}

.consultation-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.year-month-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.month-year-display {
    min-width: 120px;
    text-align: center;
}

.month-year-display span {
    color: #e9edef;
    font-weight: 600;
    font-size: 16px;
}

.nav-btn {
    background: linear-gradient(135deg, #25D366, #20b358);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.year-jump select {
    background: #111b21;
    border: 1px solid #3b4a54;
    border-radius: 6px;
    color: #e9edef;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

.year-jump select:focus {
    outline: none;
    border-color: #25D366;
}

.consultation-calendar {
    background: #2a2f32;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.consultation-calendar .calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.consultation-calendar .day-header {
    text-align: center;
    color: #8696a0;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 4px;
}

.consultation-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.consultation-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid transparent;
}

.consultation-day.available {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.3);
}

.consultation-day.available:hover {
    background: rgba(40, 167, 69, 0.3);
    transform: scale(1.05);
}

.consultation-day.occupied {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

.consultation-day.occupied:hover {
    background: rgba(220, 53, 69, 0.3);
    transform: scale(1.05);
}

.consultation-day.blocked {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
}

.consultation-day.blocked:hover {
    background: rgba(255, 193, 7, 0.3);
    transform: scale(1.05);
}

.consultation-day.past {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    cursor: not-allowed;
    border-color: rgba(108, 117, 125, 0.3);
}

.consultation-day.other-month {
    opacity: 0.3;
    color: #6c757d;
}

.consultation-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.consultation-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8696a0;
}

.consultation-legend .legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.consultation-legend .legend-color.available {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.3);
}

.consultation-legend .legend-color.occupied {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
}

.consultation-legend .legend-color.blocked {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
}

.consultation-legend .legend-color.past {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.3);
}

/* Booking Details Modal */
.booking-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 16000;
    backdrop-filter: blur(8px);
}

.booking-details-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.booking-details-content {
    background: #2a2f32;
    border-radius: 12px;
    max-width: 500px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.booking-details-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.booking-details-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-details-modal {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.close-details-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

.booking-details-body {
    padding: 20px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.detail-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3b4a54;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h5 {
    color: #25D366;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.detail-label {
    color: #8696a0;
    font-size: 14px;
    flex: 1;
}

.detail-value {
    color: #e9edef;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    text-align: right;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-confirmed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-blocked {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-pending {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

/* Mobile Responsive for Consultation Calendar */
@media (max-width: 480px) {
    .consultation-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .consultation-legend {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .consultation-day {
        font-size: 12px;
    }
    
    .booking-details-content {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

/* Chat Container */
.chat-container {
    position: fixed;
    top: calc(56px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    bottom: calc(60px + env(safe-area-inset-bottom));
    background: #0b141a;
    overflow: hidden;
}

.chat-messages {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(134, 150, 160, 0.4);
    border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(134, 150, 160, 0.6);
}

/* Message Bubbles */
.message-wrapper {
    margin-bottom: 12px;
    display: flex;
    width: 100%;
}

.message-wrapper.user-message {
    justify-content: flex-end;
}

.message-wrapper.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.message-bubble.user {
    background: #005c4b;
    color: #e9edef;
    border-bottom-right-radius: 4px;
}

.message-bubble.bot {
    background: #202c33;
    color: #e9edef;
    border-bottom-left-radius: 4px;
}

.message-content {
    line-height: 1.4;
    font-size: 14px;
}

.welcome-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #25D366;
    font-size: 14px;
}

.message-time {
    font-size: 11px;
    color: #8696a0;
    text-align: right;
    margin-top: 4px;
}

/* WhatsApp Input Area */
.whatsapp-input-area {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2a2f32;
    border-top: 1px solid #3b4043;
    padding: 6px 12px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    z-index: 1000;
}

.input-form {
    width: 100%;
}

.input-container {
    display: flex;
    align-items: center;
    background: #40484d;
    border-radius: 24px;
    padding: 4px 4px 4px 14px;
    gap: 8px;
}

.message-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #e9edef;
    font-size: 16px;
    padding: 6px 0;
    font-family: inherit;
    -webkit-user-select: text;
    user-select: text;
}

.message-input::placeholder {
    color: #8696a0;
}

.send-button {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
}

.send-button:hover, .send-button:active {
    background: #20b358;
    transform: scale(0.95);
}

.send-button:disabled {
    background: #8696a0;
    cursor: not-allowed;
    transform: none;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 90px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    pointer-events: auto;
}

.fab {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 20px;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.info-fab {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
}

.fab:hover, .fab:active {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Quick Info Panel */
.quick-info-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #2a2f32;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease;
    z-index: 1001;
    max-height: 70vh;
}

.quick-info-panel.active {
    bottom: 0;
}

.quick-info-content {
    padding: 24px 20px 40px;
    max-height: 70vh;
    overflow-y: auto;
}

.quick-info-content h3 {
    color: #25D366;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-info-content p {
    color: #e9edef;
    margin-bottom: 20px;
    font-size: 14px;
}

.quick-info-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.quick-info-content li {
    color: #e9edef;
    padding: 4px 0;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.quick-info-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25D366;
    font-weight: bold;
}

/* Clickable Links in Quick Info */
.location-link, .contact-link, .whatsapp-number, .decoration-link {
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.location-link:hover, .contact-link:hover, .whatsapp-number:hover, .decoration-link:hover {
    color: #20b358;
    text-decoration: underline;
}

.location-link:active, .contact-link:active, .whatsapp-number:active, .decoration-link:active {
    transform: scale(0.98);
}

.close-quick-info {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #8696a0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-quick-info:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #e9edef;
}

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: #2a2f32;
    padding: 12px 16px;
    border-radius: 18px;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.loading-indicator.active {
    display: flex;
}

.loading-dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8696a0;
    animation: loadingDot 1.4s infinite ease-in-out;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loadingDot {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-wrapper {
    animation: slideInUp 0.3s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 375px) {
    .venue-name {
        font-size: 15px;
    }
    
    .venue-status {
        font-size: 12px;
    }
    
    .header-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Safe Area Support - Removed duplicate rules, now inline in each component */

/* Action buttons styling */
.booking-actions, .date-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.action-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-btn.edit-booking, .action-btn.edit-block {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.action-btn.cancel-booking {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.action-btn.change-status {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.action-btn.unblock-date {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.action-btn.add-booking {
    background: linear-gradient(135deg, #52B788, #40916C);
}

.action-btn.block-date {
    background: linear-gradient(135deg, #fd7e14, #e85504);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-btn:active {
    transform: translateY(0);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-available {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.status-blocked {
    background: #f8d7da;
    color: #721c24;
}

/* ===== COTIZADOR STYLES - ORIGINAL DESKTOP VERSION ===== */

.cotizador-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cotizador-overlay.active {
    opacity: 1;
}

.cotizador-modal {
    background: white;
    border-radius: 20px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cotizador-overlay.active .cotizador-modal {
    transform: translateY(0);
}

.cotizador-header {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cotizador-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cotizador {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.close-cotizador:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cotizador-body {
    padding: 30px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.form-section h3 {
    margin: 0 0 20px 0;
    color: #374151;
    font-size: 1.2rem;
    border-bottom: 2px solid #10B981;
    padding-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.min-guests,
.children-info {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 0.9rem;
}

.children-info {
    color: #059669;
    font-weight: 500;
}

.cost-breakdown {
    background: white;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e5e7eb;
}

.cost-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cost-line:last-child {
    border-bottom: none;
}

.cost-label {
    font-weight: 500;
    color: #374151;
}

.cost-value {
    font-weight: 600;
    color: #059669;
    font-size: 1.1rem;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 2px solid #10B981;
    margin-top: 15px;
}

.total-label {
    font-weight: 700;
    color: #374151;
    font-size: 1.2rem;
}

.total-value {
    font-weight: 700;
    color: #10B981;
    font-size: 1.4rem;
}

.payment-info {
    margin-top: 20px;
    padding: 15px;
    background: #ecfdf5;
    border-radius: 10px;
    border: 2px solid #d1fae5;
}

.payment-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.payment-line:last-child {
    margin-bottom: 0;
}

.decorations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.decoration-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.decoration-item:hover {
    border-color: #10B981;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.decoration-image {
    height: 60px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-image svg {
    max-width: 50px;
    max-height: 50px;
}

.decoration-info h4 {
    margin: 0 0 5px 0;
    color: #374151;
    font-size: 1rem;
}

.decoration-info .price {
    color: #10B981;
    font-weight: 600;
    margin-bottom: 10px;
}

.add-to-cart {
    background: #10B981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #059669;
}

.cart-summary {
    margin-top: 25px;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 15px;
    border: 2px solid #bbf7d0;
}

.cart-summary h4 {
    margin: 0 0 15px 0;
    color: #374151;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #d1fae5;
}

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

.remove-item {
    background: #ef4444;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-total {
    font-weight: 700;
    color: #059669;
    font-size: 1.2rem;
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #10B981;
}

.cotizador-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp,
.btn-appointment,
.btn-save {
    flex: 1;
    min-width: 200px;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-appointment {
    background: #3B82F6;
    color: white;
}

.btn-appointment:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-save {
    background: #6B7280;
    color: white;
}

.btn-save:hover {
    background: #4B5563;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 114, 128, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cotizador-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .cotizador-body {
        padding: 20px;
        max-height: calc(100vh - 80px);
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .decorations-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .cotizador-actions {
        flex-direction: column;
    }
    
    .btn-whatsapp,
    .btn-appointment,
    .btn-save {
        min-width: 100%;
    }
    
    .form-section {
        padding: 15px;
        margin-bottom: 20px;
    }
}

/* ===== COTIZADOR STYLES END ===== */
.cotizador-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cotizador-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cotizador-container {
    width: 95vw;
    max-width: 500px;
    max-height: 90vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.cotizador-overlay.active .cotizador-container {
    transform: scale(1);
}

.cotizador-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cotizador-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cotizador {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-cotizador:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.cotizador-content {
    padding: 25px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.cotizador-step h4 {
    color: #128C7E;
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.warning-text {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.cost-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    border: 2px solid #dee2e6;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.cost-item:last-of-type {
    border-bottom: none;
}

.cost-label {
    color: #495057;
    font-size: 14px;
}

.cost-value {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 10px 0;
    margin-top: 15px;
    border-top: 2px solid #25D366;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    margin: 15px -20px 10px -20px;
    padding: 15px 20px;
    border-radius: 10px;
}

.total-label {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.total-value {
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.cost-breakdown {
    margin-top: 15px;
    text-align: center;
}

.cost-breakdown small {
    display: block;
    color: #6c757d;
    font-size: 12px;
    margin: 3px 0;
}

.package-info {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #25D366;
}

.package-info h5 {
    color: #128C7E;
    margin: 0 0 15px 0;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-features {
    display: grid;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-size: 13px;
    padding: 5px 0;
}

.feature-item i {
    color: #25D366;
    width: 16px;
}

.cotizador-actions {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.btn-whatsapp,
.btn-cita {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20b358 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.btn-cita {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.btn-cita:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .cotizador-container {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .cotizador-content {
        padding: 20px;
        max-height: calc(100vh - 80px);
    }
    
    .cotizador-header {
        padding: 15px 20px;
    }
    
    .cotizador-header h3 {
        font-size: 16px;
    }
    
    .cost-total {
        margin: 15px -20px 10px -20px;
        padding: 12px 20px;
    }
    
    .total-value {
        font-size: 18px;
    }
}




/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.info-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.cotizar-btn {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.cotizar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.web-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.web-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Info Panel Modal */
.info-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    overflow-y: auto;
}

.info-panel.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.panel-content {
    background: #2a2f32;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.panel-header {
    background: #25D366;
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-panel {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-panel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.info-section {
    padding: 20px;
    border-bottom: 1px solid #3b4043;
}

.info-section:last-child {
    border-bottom: none;
}

.info-section h4 {
    color: #25D366;
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-section p {
    color: #e9edef;
    line-height: 1.5;
    margin-bottom: 12px;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e9edef;
    text-decoration: none;
    font-weight: 500;
    padding: 16px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid transparent;
}

.info-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.info-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.info-links-container {
    padding: 10px;
}

/* Specific social media colors */
.google-link {
    border-left-color: #4285F4;
}

.google-link i {
    color: #4285F4;
}

.facebook-link {
    border-left-color: #1877F2;
}

.facebook-link i {
    color: #1877F2;
}

.instagram-link {
    border-left-color: #E4405F;
}

.instagram-link i {
    color: #E4405F;
}

.decorativos-link {
    border-left-color: #9C27B0;
}

.decorativos-link i {
    color: #9C27B0;
}

.whatsapp-link {
    border-left-color: #25D366;
}

.whatsapp-link i {
    color: #25D366;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    color: #e9edef;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li i {
    color: #25D366;
    width: 20px;
    text-align: center;
}

.package-card {
    background: #1f2428;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #25D366;
}

.package-card h5 {
    color: #25D366;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.package-card p {
    color: #b3b3b3;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive adjustments for floating buttons */
@media (max-width: 480px) {
    .floating-buttons {
        bottom: 90px;
        right: 16px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .panel-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .info-section {
        padding: 16px;
    }
}


/* Avatar Logo Styles */
.avatar-logo {
    width: 93%;
    height: 93%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 1px;
    box-sizing: border-box;
    margin: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.avatar-logo:hover {
    transform: scale(1.05);
}

.avatar-logo.click-effect {
    animation: click-grow-sparkle 1.6s ease-in-out;
}

@keyframes click-grow-sparkle {
    0% { 
        transform: scale(1); 
        filter: brightness(1) blur(0px);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        opacity: 1;
    }
    25% { 
        transform: scale(1.3); 
        filter: brightness(1.2) blur(1px);
        box-shadow: 0 0 15px rgba(255, 223, 0, 0.4),
                    0 0 30px rgba(255, 192, 203, 0.3),
                    0 0 45px rgba(0, 255, 255, 0.2),
                    0 0 60px rgba(255, 165, 0, 0.2);
        opacity: 0.9;
    }
    50% { 
        transform: scale(2); 
        filter: brightness(1.3) blur(2px);
        box-shadow: 0 0 20px rgba(255, 223, 0, 0.6),
                    0 0 40px rgba(255, 192, 203, 0.4),
                    0 0 60px rgba(0, 255, 255, 0.3),
                    0 0 80px rgba(255, 165, 0, 0.2),
                    0 0 100px rgba(147, 112, 219, 0.2);
        opacity: 0.8;
    }
    75% { 
        transform: scale(1.3); 
        filter: brightness(1.2) blur(1px);
        box-shadow: 0 0 15px rgba(255, 223, 0, 0.4),
                    0 0 30px rgba(255, 192, 203, 0.3),
                    0 0 45px rgba(0, 255, 255, 0.2),
                    0 0 60px rgba(255, 165, 0, 0.2);
        opacity: 0.9;
    }
    100% { 
        transform: scale(1); 
        filter: brightness(1) blur(0px);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        opacity: 1;
    }
}



/* Facebook Icon */
.facebook-link {
    color: #4267B2;
    font-size: 16px;
    margin-left: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.facebook-link:hover {
    color: #365899;
    transform: scale(1.1);
}

@keyframes gentle-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(82, 183, 136, 0.6),
                    0 0 40px rgba(82, 183, 136, 0.4),
                    0 0 60px rgba(82, 183, 136, 0.2);
    }
    50% { 
        box-shadow: 0 0 25px rgba(82, 183, 136, 0.8),
                    0 0 50px rgba(82, 183, 136, 0.6),
                    0 0 75px rgba(82, 183, 136, 0.4);
    }
}

.venue-avatar {
    overflow: visible;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
