@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: url('../imgs/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

.navbar {
    background-image: linear-gradient(180deg, #126e7f 0%, #044b55 100%);
    padding: 10px 0;
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
    position: relative;
}

.navbar-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-title-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}

.brand-title {
    font-weight: 400;
    font-size: 1.5rem;
    color: #ffffff;
    white-space: nowrap;
}

.main-content {
    padding-top: 70px;
    min-height: 100vh;
}

#stepTabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    justify-content: flex-start;
    padding-bottom: 5px;
}

#stepTabs::-webkit-scrollbar {
    display: none;
}

#stepTabs .nav-item {
    flex: 0 0 auto;
}

.nav-pills {
    border-bottom: none;
    padding-bottom: 0;
}

#stepTabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: space-between;
    padding: 0 0;
    padding-bottom: 5px;
}

#stepTabs::-webkit-scrollbar {
    display: none;
}

#stepTabs .nav-item {
    flex: 0 0 auto;
    width: 16.66%;
}

.nav-pills .nav-link {
    background-color: #fff;
    color: #666;
    border-radius: 30px;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    font-size: 0.85rem;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.nav-pills .nav-link i {
    margin-right: 8px;
}

.nav-pills .nav-link span {
    vertical-align: middle;
}

.nav-pills .nav-link:hover {
    background-color: #f8f9fa;
    border-color: #126e7f;
}

.nav-pills .nav-link.active {
    background: #044b55;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(18, 110, 127, 0.4);
}

.nav-pills .nav-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.progress-tracker {
    position: relative;
    padding: 10px 0;
    margin-bottom: 10px;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 12%;
    right: 12%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 0;
}

.progress-fill {
    position: absolute;
    top: 50%;
    left: 8%;
    height: 4px;
    background: #74c135;
    border-radius: 2px;
    transform: translateY(-50%);
    transition: width 0.4s ease;
    z-index: 1;
}

.progress-dots {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 12%;
    z-index: 2;
}

.progress-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-dot.active {
    background: #74c135;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(116, 193, 53, 0.2);
}

.progress-dot.completed {
    background: #74c135;
}

.progress-dot.completed::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #fff;
}

.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.card-header {
    padding: 20px 25px;
    font-weight: 600;
}

.card-body {
    padding: 30px;
}

.form-control, .form-select {
    border-radius: 12px;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #044b55;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.btn-primary {
    background: #044b55;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(18, 110, 127, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    border-radius: 12px;
    font-weight: 600;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

.btn-outline-secondary {
    border-radius: 12px;
    font-weight: 500;
}

.service-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #126e7f;
}

.service-card.selected {
    border-color: #126e7f;
    background: linear-gradient(135deg, rgba(18, 110, 127, 0.08) 0%, rgba(4, 75, 85, 0.08) 100%);
    box-shadow: 0 6px 20px rgba(18, 110, 127, 0.2);
}

.service-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.service-card .icon i {
    font-size: 1.3rem;
    color: #126e7f;
}

.service-card:hover .icon {
    background: linear-gradient(135deg, #126e7f 0%, #044b55 100%);
}

.service-card:hover .icon i {
    color: #fff;
}

.service-card.selected .icon {
    background: linear-gradient(135deg, #126e7f 0%, #044b55 100%);
}

.service-card.selected .icon i {
    color: #fff;
}

.subservice-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.subservice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #126e7f;
}

.subservice-card.selected {
    border-color: #126e7f;
    background: linear-gradient(135deg, rgba(18, 110, 127, 0.08) 0%, rgba(4, 75, 85, 0.08) 100%);
    box-shadow: 0 6px 20px rgba(18, 110, 127, 0.2);
}

.subservice-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.subservice-card .icon i {
    font-size: 1.3rem;
    color: #126e7f;
}

.subservice-card:hover .icon {
    background: linear-gradient(135deg, #126e7f 0%, #044b55 100%);
}

.subservice-card:hover .icon i {
    color: #fff;
}

.subservice-card h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.service-card h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.service-card p {
    color: #777;
    font-size: 0.75rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    padding: 20px 25px;
}

.modal-header .modal-title {
    font-weight: 600;
}

.modal-body h4 {
    font-weight: 600;
    color: #333;
}

.bg-gradient {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.bg-126e7f {
    background: #126e7f !important;
}

.bg-126e7f-dark {
    background: #044b55 !important;
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 2.5rem;
    color: #fff;
}

#newUserModal .form-label i {
    font-size: 1rem;
}

#newUserModal .form-label i.fa-tint {
    color: #dc3545;
}

#newUserModal .form-label i.fa-exclamation-triangle {
    color: #ffc107;
}

#newUserModal .form-label i.fa-phone {
    color: #667eea;
}

.btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: 12px;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-126e7f {
    background: #126e7f !important;
    border: none !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff !important;
}

.btn-126e7f:hover {
    background: #044b55 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(18, 110, 127, 0.4);
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 0;
    z-index: 1;
}

.location-info-bar {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #555;
}

.user-marker {
    background: transparent;
    border: none;
}

.user-marker-inner {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.user-marker-inner i {
    color: #fff;
    font-size: 1rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

.custom-branch-marker {
    background: transparent !important;
    border: none !important;
}

.branch-marker {
    width: 50px;
    height: 50px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.branch-marker i,
.branch-marker img {
    transform: rotate(45deg);
    color: #fff;
    font-size: 1.2rem;
}

.branch-marker img,
.branch-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.branch-marker.recommended {
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-5px); }
}

.recommended-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.branch-popup {
    padding: 12px;
    min-width: 220px;
}

.branch-popup h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.branch-popup h5 img,
.branch-popup .sucursal-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.branch-popup p {
    margin: 3px 0;
    font-size: 0.75rem;
    color: #666;
}

.branch-popup p i {
    width: 15px;
    color: #126e7f;
}

.distance-info {
    background: linear-gradient(135deg, rgba(18, 110, 127, 0.1) 0%, rgba(4, 75, 85, 0.1) 100%);
    padding: 6px 10px;
    border-radius: 8px;
    margin: 8px 0;
    font-weight: 500;
    color: #126e7f;
    text-size-adjust: 0.8rem;
    text-align: center;
}

.distance-info i {
    margin-right: 8px;
}

.popup-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.btn-select-branch {
    width: 100%;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-select-branch:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-select-branch.selected {
    background: #28a745 !important;
}

.sucursales-list {
    padding: 20px;
    background: #f8f9fa;
}

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

.sucursales-header h5 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.sucursales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.sucursal-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.sucursal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.sucursal-card.selected {
    border-width: 2px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.sucursal-card.recommended {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.08) 0%, rgba(245, 87, 108, 0.08) 100%);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.sucursal-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sucursal-icon i,
.sucursal-icon img {
    font-size: 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
}

.sucursal-info {
    flex: 1;
    min-width: 0;
}

.sucursal-info h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.sucursal-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sucursal-meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #667eea;
}

.sucursal-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sucursal-meta i {
    font-size: 0.75rem;
}

.select-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.select-indicator i {
    font-size: 0.9rem;
}

.summary-content {
    text-align: center;
}

.summary-header {
    margin-bottom: 30px;
}

.summary-details {
    text-align: left;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
}

.summary-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

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

.summary-section h5 {
    color: #667eea;
    margin-bottom: 10px;
    font-weight: 600;
}

.summary-section p {
    margin: 5px 0;
    color: #555;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 1.1rem;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    #stepTabs {
        justify-content: space-between;
        padding: 0 5%;
    }
    
    #stepTabs .nav-item {
        width: auto;
        flex: 1;
    }
    
    .nav-pills .nav-link {
        padding: 8px 2px;
        font-size: 0.6rem;
        border-radius: 15px;
    }
    
    .nav-pills .nav-link i {
        display: block;
        margin-bottom: 2px;
        margin-right: 0;
    }
    
    .nav-pills .nav-link span {
        display: block;
        font-size: 0.55rem;
        margin-top: 2px;
    }
    
    .progress-tracker {
        padding: 5px 0;
    }
    
    .progress-line {
        left: 12%;
        right: 12%;
    }
    
    .progress-fill {
        left: 12%;
        right: auto;
    }
    
    .progress-dots {
        padding: 0 12%;
    }
    
    .progress-dot {
        width: 14px;
        height: 14px;
    }
    
    .progress-dot.completed::after {
        font-size: 7px;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    .form-control, .form-select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 12px 8px;
    }
    
    .service-card .icon {
        width: 45px;
        height: 45px;
    }
    
    .service-card .icon i {
        font-size: 1.1rem;
    }
    
    .service-card h5 {
        font-size: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.7rem;
    }
    
    .progress-dot {
        width: 16px;
        height: 16px;
    }
    
    .progress-dot.completed::after {
        font-size: 8px;
    }
    
    #map {
        height: 280px;
    }
    
    .sucursales-grid {
        grid-template-columns: 1fr;
    }
    
    .sucursal-card {
        padding: 15px;
    }
    
    .sucursal-icon {
        width: 45px;
        height: 45px;
    }
    
    .sucursal-info h6 {
        font-size: 0.9rem;
    }
    
    .sucursal-info p {
        font-size: 0.8rem;
    }
    
    .sucursal-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .branch-popup {
        padding: 10px;
        min-width: 180px;
    }
    
    .branch-popup h5 {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .branch-popup p {
        font-size: 0.7rem;
        margin: 2px 0;
    }
    
    .popup-badge {
        padding: 2px 6px;
        font-size: 0.6rem;
        margin-bottom: 5px;
    }
    
    .distance-info {
        padding: 5px 8px;
        margin: 5px 0;
        font-size: 0.7rem;
    }
    
    .btn-select-branch {
        padding: 6px;
        font-size: 0.7rem;
        margin-top: 5px;
    }
    
    .custom-popup .leaflet-popup-content-wrapper {
        border-radius: 10px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .subservice-card {
        padding: 15px 10px;
    }
    
    .subservice-card .icon {
        width: 40px;
        height: 40px;
    }
    
    .subservice-card .icon i {
        font-size: 1.1rem;
    }
    
    .subservice-card h5 {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    body {
        background-image: url('../imgs/background.png');
    }
}

@media (max-width: 768px) {
    body {
        background-image: url('../imgs/backgroundMobile.png');
    }
}

.admin-header {
    background: linear-gradient(180deg, #126e7f 0%, #044b55 100%);
    padding: 15px 0;
    color: #fff;
}

.admin-header img {
    height: 45px;
}

.admin-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
}

.btn-back {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

.main-panel {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    height: calc(100vh - 120px);
}

.panel-left {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.panel-left-header {
    background: linear-gradient(135deg, #126e7f 0%, #044b55 100%);
    padding: 15px 20px;
    color: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
}

.panel-left-header h4 {
    margin: 0;
    font-weight: 600;
}

.panel-left-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.panel-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jackpot-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.jackpot-header {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
}

.jackpot-header.quirófano {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.jackpot-header.consulta {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.jackpot-header.óptica {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.jackpot-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.jackpot-number {
    background: rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
}

.jackpot-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.turno-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.turno-item:hover {
    transform: translateX(5px);
    border-color: #126e7f;
}

.turno-item.pendiente {
    border-left: 4px solid #ffc107;
}

.turno-item.atendiendo {
    border-left: 4px solid #17a2b8;
}

.turno-item.atendido {
    border-left: 4px solid #28a745;
}

.turno-item.cancelado {
    border-left: 4px solid #dc3545;
    opacity: 0.6;
}

.turno-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.turno-num {
    background: linear-gradient(135deg, #126e7f 0%, #044b55 100%);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.turno-details h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.turno-details p {
    margin: 0;
    font-size: 0.75rem;
    color: #777;
}

.turno-actions {
    display: flex;
    gap: 5px;
}

.btn-action {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action.btn-play {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.btn-action.btn-check {
    background: #28a745;
    color: #fff;
}

.btn-action.btn-cancel {
    background: #dc3545;
    color: #fff;
}

.btn-action:hover {
    transform: scale(1.1);
}

.add-turno-btn {
    width: 100%;
    padding: 12px;
    background: #f8f9fa;
    border: 2px dashed #ccc;
    border-radius: 12px;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-turno-btn:hover {
    border-color: #126e7f;
    color: #126e7f;
    background: rgba(18, 110, 127, 0.05);
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #999;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .main-panel {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: auto;
    }
    .panel-left {
        min-height: 250px;
    }
}

.menu-card {
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(18, 110, 127, 0.2);
    border-color: #126e7f;
}

.menu-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(18, 110, 127, 0.1) 0%, rgba(4, 75, 85, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.menu-card:hover .icon {
    background: linear-gradient(135deg, #126e7f 0%, #044b55 100%);
}

.menu-card .icon i {
    font-size: 1.8rem;
    color: #126e7f;
    transition: all 0.3s ease;
}

.menu-card:hover .icon i {
    color: #fff;
}

.menu-card h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.menu-card p {
    color: #777;
    font-size: 0.85rem;
    margin: 0;
}

.stats-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.stats-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #126e7f;
}

.stats-card .stat-label {
    color: #777;
    font-size: 0.9rem;
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-header .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
