/* ========================================
   Sistema de Turnos Médicos - Estilos Personalizados
   Versión Moderna Sin Degradados
   ======================================== */

/* Variables de Color Modernas */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --success-color: #198754;
    --success-dark: #157347;
    --info-color: #0dcaf0;
    --info-dark: #0aa2c0;
    --warning-color: #ffc107;
    --warning-dark: #ffb300;
    --danger-color: #dc3545;
    --danger-dark: #bb2d3b;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.15);
    
    --border-radius: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mejoras Generales */
body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #212529;
    line-height: 1.6;
}

/* Cards Modernos */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    background: white;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.card-header {
    background-color: var(--bs-primary) !important;
    color: white;
    border-bottom: none;
    padding: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
}

.card-header h3 {
    margin: 0;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3 i {
    font-size: 1rem;
}

.content-header {
    padding: 1.5rem 0;
}

.content-header h1 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
}

.content-header h1 i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-body {
    padding: 2rem;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

/* Small Boxes Mejorados */
.small-box {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    border: none;
}

.small-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.small-box .inner {
    padding: 1.5rem;
}

.small-box .inner h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.small-box .inner p {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.small-box .icon {
    color: rgba(255, 255, 255, 0.15);
    z-index: 0;
}

.small-box .icon i {
    font-size: 60px;
    position: absolute;
    right: 15px;
    top: 20px;
    transition: var(--transition);
}

.small-box:hover .icon i {
    transform: scale(1.05);
}

.small-box .small-box-footer {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 0.75rem 1rem;
    display: block;
    position: relative;
    text-align: center;
    text-decoration: none;
    z-index: 10;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.small-box .small-box-footer:hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
}

/* Colores de los Small Boxes */
.small-box.bg-info {
    background-color: var(--bs-primary) !important;
}

.small-box.bg-primary {
    background-color: var(--bs-primary) !important;
}

.small-box.bg-success {
    background-color: var(--success-color) !important;
}

.small-box.bg-warning {
    background-color: var(--warning-color) !important;
}

.small-box.bg-danger {
    background-color: var(--danger-color) !important;
}

/* Botones Modernos */
.btn {
    border-radius: 8px;
    padding: 0.625rem 1.75rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

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

.btn-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white;
}

.btn-primary:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    color: white;
}

.btn-success {
    background-color: var(--bs-success) !important;
    border-color: var(--bs-success) !important;
    color: white;
}

.btn-success:hover {
    background-color: var(--success-dark) !important;
    border-color: var(--success-dark) !important;
    color: white;
}

.btn-info {
    background-color: var(--info-color) !important;
    border-color: var(--info-color) !important;
    color: white;
}

.btn-info:hover {
    background-color: var(--info-dark) !important;
    border-color: var(--info-dark) !important;
    color: white;
}

.btn-warning {
    background-color: var(--warning-color) !important;
    border-color: var(--warning-color) !important;
    color: #212529;
}

.btn-warning:hover {
    background-color: var(--warning-dark) !important;
    border-color: var(--warning-dark) !important;
    color: #212529;
}

.btn-change-password {
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
}

.btn-danger {
    background-color: var(--danger-color) !important;
    border-color: var(--danger-color) !important;
    color: white;
}

.btn-danger:hover {
    background-color: var(--danger-dark) !important;
    border-color: var(--danger-dark) !important;
    color: white;
}

.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white;
}

.btn-secondary:hover {
    background-color: #5c636a !important;
    border-color: #5c636a !important;
    color: white;
}

/* Badges Modernos */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.badge-warning {
    background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%) !important;
    color: #212529;
    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
    color: white;
    box-shadow: 0 2px 8px rgba(67, 160, 71, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, #ef5350 0%, #e53935 100%) !important;
    color: white;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

.badge-info {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%) !important;
    color: white;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.3);
}

.badge-primary {
    background: linear-gradient(135deg, #5c7cfa 0%, #3b5bdb 100%) !important;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 91, 219, 0.3);
}

/* Formularios Modernos */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1rem;
    transition: var(--transition);
    font-size: 0.95rem;
    height: calc(1.5em + 1.75rem + 2px);
    line-height: 1.5;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    outline: none;
}

/* Estilos para Form Groups en Reportes */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-group label i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.custom-control-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.custom-control-label i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Sidebar Mejorado */
.main-sidebar {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
}

.nav-sidebar .nav-link {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.7);
    border-left: 3px solid transparent;
}

.nav-sidebar .nav-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: white;
    border-left-color: #3b82f6;
}

.nav-sidebar .nav-link.active {
    background-color: rgba(59, 130, 246, 0.2) !important;
    color: white !important;
    font-weight: 600;
    border-left-color: #3b82f6;
}

.nav-sidebar .nav-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.nav-sidebar .nav-link:hover i {
    color: #60a5fa;
}

.nav-sidebar .nav-link.active i {
    color: #60a5fa;
}

.nav-sidebar .nav-link p {
    margin: 0;
    font-size: 0.9rem;
}

/* User Panel Mejorado */
.user-panel {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    object-fit: cover;
}

.user-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-panel:hover .user-avatar::before {
    opacity: 1;
}

.user-initials {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.user-panel:hover .user-avatar {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-align: center;
    line-height: 1.3;
}

.user-panel:hover .user-name {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.user-role {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.user-panel:hover .user-role {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Brand Link Mejorado */
.brand-link {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

.brand-link > * {
    flex-shrink: 0;
}

.brand-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.brand-image {
    width: auto;
    max-width: 100%;
    height: 50px;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    object-fit: contain;
}

.brand-link:hover .brand-image {
    border-color: rgba(255, 255, 255, 0.4);
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navbar Mejorado */
.main-header {
    box-shadow: var(--shadow-sm);
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.navbar-nav .nav-link {
    color: #495057;
    transition: var(--transition);
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Botón del Usuario en Navbar */
.user-menu-toggle {
    padding: 0.375rem 0.75rem !important;
    border-radius: 20px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.user-menu-toggle:hover {
    background-color: #f8f9fa;
}

.user-menu-toggle::after {
    margin-left: 0.5rem;
}

.user-menu-content {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.user-menu-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
}

.user-menu-text {
    color: #202124;
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
}

/* Dropdown del Usuario */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0;
    margin-top: 0.5rem;
    min-width: 280px;
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    background-color: white;
}

/* Avatar del Usuario */
.dropdown-header .user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.user-name {
    font-size: 1rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.875rem;
    color: #5f6368;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
    color: #5f6368;
    font-size: 0.9375rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1a73e8;
}

.dropdown-item i {
    margin-right: 0.75rem;
    width: 20px;
    font-size: 1rem;
}

.dropdown-item.text-danger {
    color: #ea4335 !important;
}

.dropdown-item.text-danger:hover {
    background-color: #fef1f0;
    color: #ea4335 !important;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.5;
}

/* Tablas Modernas */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    border: none;
}

.table thead th {
    background-color: var(--bs-primary) !important;
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 1.5rem 1.25rem;
    position: relative;
    white-space: nowrap;
    text-align: center !important;
}

.table thead th i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.95;
}

.table thead th:first-child {
    border-top-left-radius: var(--border-radius);
}

.table thead th:last-child {
    border-top-right-radius: var(--border-radius);
}

.table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

/* Colores intercalados para filas pares e impares */
.table tbody tr:nth-child(odd) {
    background-color: white;
}

.table tbody tr:nth-child(even) {
    background-color: rgba(99, 165, 250, 0.08);
}

.table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.1) !important;
    transform: scale(1.002);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

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

.table tbody td {
    padding: 1.25rem 1.25rem;
    vertical-align: middle;
    border-color: #f0f0f0;
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
    text-align: center !important;
}

.table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(248, 249, 250, 0.5);
}

.table-striped tbody tr:nth-of-type(odd):hover {
    background-color: rgba(13, 110, 253, 0.08);
}

.table-bordered {
    border: 1px solid #e9ecef;
}

.table-bordered thead th {
    border: none;
}

.table-bordered tbody td {
    border-color: #f0f0f0;
}

.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Mensaje de tabla vacía */
.table tbody tr td.text-center {
    padding: 3rem 1rem;
    color: #6c757d;
    font-style: italic;
    font-size: 1rem;
}

/* Badges dentro de tablas */
.table .badge {
    font-size: 0.7rem;
    padding: 0.5rem 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
}

.table .badge-warning {
    background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%) !important;
    box-shadow: 0 2px 6px rgba(255, 179, 0, 0.25);
}

.table .badge-success {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
    box-shadow: 0 2px 6px rgba(67, 160, 71, 0.25);
}

.table .badge-danger {
    background: linear-gradient(135deg, #ef5350 0%, #e53935 100%) !important;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.25);
}

.table .badge-info {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%) !important;
    box-shadow: 0 2px 6px rgba(30, 136, 229, 0.25);
}

/* Botones dentro de tablas */
.table .btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

/* Estado vacío con icono */
.table tbody tr td.text-center::before {
    content: '📋';
    display: block;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.3;
}

/* Animación de entrada para filas */
@keyframes slideInRow {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.table tbody tr {
    animation: slideInRow 0.3s ease-out;
}

.table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.table tbody tr:nth-child(n+6) { animation-delay: 0.3s; }

/* Select Mejorado */
.custom-select,
.form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    transition: var(--transition);
    font-size: 0.95rem;
    height: calc(1.5em + 1.75rem + 2px);
    line-height: 1.5;
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.custom-select:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    outline: none;
}

.form-select option {
    padding: 0.5rem;
}

/* Checkbox Mejorado */
.custom-control-input:checked ~ .custom-control-label::before,
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-control-input:focus ~ .custom-control-label::before,
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Alertas Modernas */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.5rem;
    font-weight: 500;
    position: relative;
}

.alert i.fas {
    font-size: 1.2rem;
    vertical-align: middle;
}

.alert-success i.fas {
    color: #28a745;
}

.alert-danger i.fas {
    color: #dc3545;
}

.alert-warning i.fas {
    color: #ffc107;
}

.alert-info i.fas {
    color: #17a2b8;
}

.alert-primary i.fas {
    color: #0d6efd;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.alert-success {
    background-color: #d4edda !important;
    color: #155724;
}

.alert-success::before {
    background-color: #28a745;
}

.alert-danger {
    background-color: #f8d7da !important;
    color: #721c24;
}

.alert-danger::before {
    background-color: #dc3545;
}

.alert-warning {
    background-color: #fff3cd !important;
    color: #856404;
}

.alert-warning::before {
    background-color: #ffc107;
}

.alert-info {
    background-color: #d1ecf1 !important;
    color: #0c5460;
}

.alert-info::before {
    background-color: #17a2b8;
}

.alert-primary {
    background-color: #cfe2ff !important;
    color: #084298;
}

.alert-primary::before {
    background-color: #0d6efd;
}

/* Botón de cerrar en alertas */
.alert .btn-close {
    opacity: 0.6;
    filter: invert(0.3);
}

.alert .btn-close:hover {
    opacity: 1;
}

/* Breadcrumb Moderno */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
}

/* Paginación Moderna */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 0.25rem;
    border: 2px solid #e9ecef;
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 500;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* Navbar User Dropdown */
.dropdown-menu {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

/* Sidebar Brand */
.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.brand-link:hover {
    color: white;
    background-color: var(--primary-dark);
}

/* Stats Cards en Dashboard */
.info-box {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e9ecef;
    padding: 1rem;
    min-height: 90px;
}

.info-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.info-box-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    border-radius: 12px;
    flex-shrink: 0;
    margin-right: 1rem;
}

.info-box-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.info-box-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
}

/* Colores de iconos para info-box */
.info-box-icon.bg-info {
    background-color: var(--info-color) !important;
}

.info-box-icon.bg-success {
    background-color: var(--success-color) !important;
}

.info-box-icon.bg-warning {
    background-color: var(--warning-color) !important;
}

.info-box-icon.bg-danger {
    background-color: var(--danger-color) !important;
}

.info-box-icon.bg-primary {
    background-color: var(--primary-color) !important;
}

.info-box-icon.bg-secondary {
    background-color: #6c757d !important;
}

/* Botones de acción en tablas */
table td:last-child {
    white-space: nowrap;
}

table td:last-child .btn {
    display: inline-block;
    margin-right: 0.25rem;
}

table td:last-child .btn:last-child {
    margin-right: 0;
}

/* DataTable personalizado */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table tbody tr {
    cursor: pointer;
}

.data-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/* Efecto de selección */
.data-table tbody tr:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

/* Tabla en modo oscuro (opcional para vistas de impresión) */
@media print {
    .table {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .table thead th {
        background: #495057 !important;
        color: white !important;
    }
    
    .table tbody tr:hover {
        background: transparent !important;
        transform: none !important;
    }
    
    .table .btn-sm {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .small-box .inner h3 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    /* Tablas en móviles */
    .table {
        font-size: 0.85rem;
    }
    
    .table thead th {
        padding: 1rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .table tbody td {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .table .btn-sm {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        margin: 0.125rem;
    }
    
    .table .badge {
        font-size: 0.65rem;
        padding: 0.375rem 0.625rem;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Estilos Mejorados para Listas de Detalles */
.detail-list {
    margin: 0;
}

.detail-list dt {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.detail-list dt i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.detail-list dt:hover i {
    transform: scale(1.2);
}

.detail-list dd {
    margin-bottom: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #212529;
    font-size: 0.95rem;
    font-weight: 500;
}

.detail-list dt:last-of-type,
.detail-list dd:last-of-type {
    border-bottom: none;
}

/* Efecto hover en las filas */
.detail-list dt:hover {
    color: var(--primary-color);
}

/* Badges mejorados en detalles */
.detail-list .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 6px;
}

/* Breadcrumbs Simples y Limpios */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0 0.5rem;
    border-top: 0.25rem solid transparent;
    border-bottom: 0.25rem solid transparent;
    border-left: 0.25rem solid #6c757d;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.breadcrumb-item a:hover {
    opacity: 0.7;
}

.breadcrumb-item a i {
    font-size: 0.9rem;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.breadcrumb-item.active i {
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb-item.active:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0 0.5rem;
    border-top: 0.25rem solid transparent;
    border-bottom: 0.25rem solid transparent;
    border-left: 0.25rem solid #6c757d;
}

/* Print Styles */
@media print {
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
}
/* ========================================
   Estilos Modernos de Login
   ======================================== */

.login-page {
    background: #e3f2fd;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 500px;
}

.login-box {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.login-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-icon-wrapper {
    width: auto;
    min-width: 80px;
    max-width: 100%;
    height: auto;
    min-height: 80px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.875rem;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    animation: floatAnimation 3s ease-in-out infinite;
}

.login-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.login-icon-wrapper:hover::before {
    left: 100%;
}

.login-icon-wrapper:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: none;
}

.login-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
    position: relative;
    z-index: 1;
}

.login-brand {
    font-size: 1.375rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e88e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
}

.login-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.login-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.login-card .card-body {
    padding: 2.5rem 2.5rem;
}

.login-content-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.login-welcome-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.375rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-align: center;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.login-form .form-label {
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    line-height: 1.4;
}

.login-input-group {
    margin-bottom: 1rem;
}

.login-form .input-group-text {
    border-color: #e8ebf0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #64748b;
    border-right: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 14px 0 0 14px;
    padding: 0.875rem 1.125rem;
    border-width: 2px;
}

.login-form .form-control {
    border-color: #e8ebf0;
    border-left: none;
    padding: 0.875rem 1.125rem;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 0 14px 14px 0;
    border-width: 2px;
}

.login-form .form-control:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    transform: translateY(-1px);
}

.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
    background: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.login-form .form-control:focus + .input-group-text,
.login-form .form-control:focus ~ .input-group-text {
    border-color: var(--primary-color);
    background: #ffffff;
    border-width: 2px;
}

.login-form .form-control::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.password-toggle {
    border: none;
    border-left: 2px solid #e8ebf0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    color: #64748b;
    padding: 0.875rem 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.password-toggle:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: scale(1.05);
}

.login-form .input-group:has(.password-toggle) .form-control {
    border-radius: 0;
}

.login-form .input-group:has(.password-toggle) .password-toggle:last-child {
    border-radius: 0 14px 14px 0;
}

.login-form .input-group:has(.password-toggle) .form-control:focus ~ .password-toggle {
    border-left-color: var(--primary-color);
    border-width: 2px;
}

.login-submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e88e5 100%);
    border: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.3);
}

.login-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.login-submit-btn:hover::before {
    left: 100%;
}

.login-submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.4);
}

.login-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.login-form .form-check-input {
    border-color: #cbd5e1;
    cursor: pointer;
    border-width: 2px;
    width: 1.125rem;
    height: 1.125rem;
    transition: all 0.3s ease;
}

.login-form .form-check-input:hover {
    border-color: var(--primary-color);
}

.login-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.login-form .form-check-label {
    cursor: pointer;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 600;
    margin-left: 0.5rem;
}

.forgot-password-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.forgot-password-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.register-text {
    font-size: 0.875rem;
    color: #64748b;
}

.register-link {
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.register-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.vertex-tech-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vertex-tech-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.vertex-tech-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.vertex-tech-icon-login {
    font-size: 1.1rem;
}

.invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #dc3545;
    font-weight: 500;
}

/* Responsive para móviles */
@media (max-width: 576px) {
    .login-page {
        padding: 1rem;
    }
    
    .login-card .card-body {
        padding: 1.5rem;
    }
    
    .login-brand {
        font-size: 1.5rem;
    }
    
    .login-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .login-icon-wrapper i {
        font-size: 2rem;
    }
    
    .login-welcome-title {
        font-size: 1.5rem;
    }
}

/* Banner de bienvenida en dashboard */
.card.bg-primary .text-end {
    text-align: right !important;
}

.card.bg-primary .text-end > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Footer Mejorado */
.main-footer {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.main-footer strong {
    color: #495057;
    font-weight: 600;
}

.main-footer .text-muted {
    color: #6c757d;
}

.main-footer .mx-2 {
    color: #dee2e6;
}

/* Estilos para Reportes */
.report-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Estilos para Perfil */
.avatar-large {
    width: 100px;
    height: 100px;
}

.avatar-icon {
    font-size: 3rem;
}

.large-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

/* Estilos adicionales para evitar estilos inline */
.login-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.login-brand {
    margin-top: 2px;
}

.user-avatar-sidebar {
    width: 60px;
    height: 60px;
}

.brand-image-opacity {
    opacity: .8;
}

.brand-text-margin {
    margin-left: 2px;
}

.small-box-info {
    background-color: #17a2b8 !important;
}

.small-box-danger {
    background-color: #dc3545 !important;
}

.small-box-purple {
    background-color: #6610f2 !important;
}

.small-box-success {
    background-color: #28a745 !important;
}

.canvas-chart {
    height: 300px;
}

.card-body-scrollable {
    max-height: 400px;
    overflow-y: auto;
}

.table-sticky-header {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 10;
}

.table-sticky-header th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 10;
}

.table-width-full {
    min-width: 100%;
}

.font-sm {
    font-size: 0.85rem;
}

.font-xs {
    font-size: 0.75rem;
}

.icon-size-sm {
    width: 35%;
}

.icon-size-md {
    width: 25%;
}

.icon-size-lg {
    width: 40%;
}

.icon-large {
    font-size: 4rem;
}

.icon-medium {
    font-size: 2rem;
}

.icon-xlarge {
    font-size: 3rem;
}

.badge-large {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.d-inline-form {
    display: inline;
}

.avatar-medium {
    width: 80px;
    height: 80px;
}

/* Estilos para elementos ocultos */
.hidden-element {
    display: none !important;
}

/* Estilos para iconos grandes */
.icon-xl {
    font-size: 4rem;
    color: var(--primary-color);
}

/* Estilos para badges grandes */
.badge-xl {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* Estilos para dashboard small-box */
.small-box-cyan {
    background-color: #17a2b8 !important;
}

.small-box-red {
    background-color: #dc3545 !important;
}

.small-box-violet {
    background-color: #6610f2 !important;
}

.small-box-green-custom {
    background-color: #28a745 !important;
}

/* Estilos para tarjetas de reporte */
.report-card-item {
    border-left: 4px solid #17a2b8;
    height: 100%;
    transition: transform 0.2s;
}

.report-card-item:hover {
    transform: translateY(-3px);
}

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

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

.report-card-warning {
    border-left-color: #ffc107;
}

.report-card-danger {
    border-left-color: #dc3545;
}

.report-card-primary {
    border-left-color: #007bff;
}

.report-card-secondary {
    border-left-color: #6c757d;
}

/* Estilos para iconos en círculos */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.icon-circle i {
    font-size: 1.5rem;
    color: white;
}

.icon-circle-info {
    background: #17a2b8;
}

.icon-circle-success {
    background: #28a745;
}

.icon-circle-warning {
    background: #ffc107;
}

.icon-circle-danger {
    background: #dc3545;
}

.icon-circle-primary {
    background: #007bff;
}

.icon-circle-secondary {
    background: #6c757d;
}

/* Estilos para título principal */
.page-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Estilos para título de tarjeta */
.card-title-bold {
    font-weight: 600;
}

/* Estilos para botones de reporte */
.btn-report-info {
    background: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

.btn-report-info:hover {
    background: #138496 !important;
    border-color: #138496 !important;
}

/* Estilos para banner de información */
.info-banner-gradient {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white;
}

.info-banner-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Estilos para avatar de usuario */
.avatar-show {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* ========================================
   Estilos para Formulario de Turnos
   ======================================== */

/* Select2 Custom Styles */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1rem;
    min-height: calc(1.5em + 1.75rem + 2px);
}

.select2-container--bootstrap-5 .select2-selection:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Badge Styles para Información del Médico */
#medico-dias .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    font-weight: 600;
}

#medico-info .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.875rem;
    font-weight: 600;
}

/* ========================================
   Estilos para Modal de Confirmación de Turno (SweetAlert2)
   ======================================== */

/* Estilos personalizados para el modal de SweetAlert2 */
.swal2-popup-custom {
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 2rem !important;
}

.swal2-title-custom {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 1.5rem !important;
}

.swal2-content-custom {
    font-size: 1rem !important;
    color: #495057 !important;
    text-align: left !important;
    padding: 1rem 0 !important;
}

.swal2-content-custom p {
    margin-bottom: 0.75rem !important;
}

.swal2-content-custom strong {
    color: #1e293b !important;
    font-weight: 600 !important;
}

/* Botón de confirmación - Verde (Sí, Solicitar Turno) */
.swal2-confirm-custom {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
    margin-left: 0.5rem !important;
    min-width: 150px !important;
}

.swal2-confirm-custom:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4) !important;
}

.swal2-confirm-custom:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
}

.swal2-confirm-custom:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25) !important;
}

/* Botón de cancelación - Gris (Cancelar) */
.swal2-cancel-custom {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2) !important;
    margin-right: 0.5rem !important;
    min-width: 120px !important;
}

.swal2-cancel-custom:hover {
    background-color: #5c636a !important;
    border-color: #5c636a !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.3) !important;
}

.swal2-cancel-custom:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2) !important;
}

.swal2-cancel-custom:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25) !important;
}

/* Icono del modal */
.swal2-icon.swal2-question {
    border-color: #0dcaf0 !important;
    color: #0dcaf0 !important;
}

.swal2-icon.swal2-question .swal2-icon-content {
    color: #0dcaf0 !important;
    font-size: 4rem !important;
}

/* Contenedor de botones */
.swal2-actions {
    margin-top: 2rem !important;
    gap: 0.5rem !important;
}