body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container.mt-4 {
    flex-grow: 1;
}
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.alert {
    border-radius: 10px;
    border: none;
}
/* Estilos para la tabla de turnos minimalista */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #6c757d;
}

.table td,
.table th {
    border-top: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

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

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.date-header td {
    background-color: #f8f9fa;
    color: #343a40;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}
/* Estilos para filas interactivas */
.turn-row {
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.action-icon {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    color: #6c757d;
}

.turn-row:hover .action-icon {
    opacity: 1;
}

.btn-outline-secondary {
    border-radius: 25px;
    padding: 12px 30px;
}

.btn-success {
    border-radius: 25px;
    padding: 12px 30px;
}

.btn-cancel-custom {
    background-color: #6c757d; /* Un gris oscuro para el botón de cancelar */
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff; /* Texto blanco */
}

.btn-cancel-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4); /* Sombra basada en el color del botón */
    background-color: #5a6268; /* Un tono más oscuro al pasar el ratón */
}

.container-fluid {
    flex-grow: 1;
}

/* Estilos específicos para la sección de confirmación */
.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.card-body p.form-control-static {
    font-size: 0.95rem;
    color: #343a40;
}

.card-body strong {
    color: #495057;
}

.alert-heading {
    font-size: 1.25rem;
    font-weight: 600;
}

.alert hr {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.alert ul {
    list-style-type: none;
    padding-left: 0;
}

.alert ul li {
    margin-bottom: 0.5rem;
}

.alert ul li:last-child {
    margin-bottom: 0;
}

.footer-custom {
    background-color: #f8f9fa;
    color: #212529; /* Color oscuro para el texto, que contrasta bien con el fondo claro */
    font-size: 0.8rem; /* Texto más pequeño */
    font-weight: 300; /* Fuente más ligera */
}

.footer-custom a {
    color: #212529; /* Mismo color que el texto normal */
    text-decoration: none; /* Eliminar subrayado */
}

.footer-custom a:hover {
    text-decoration: underline; /* Volver a poner subrayado al pasar el mouse */
}

/* Estilos para el modal de DNI */
#dniModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#dniModal .modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

#dniModal .modal-title {
    font-weight: 600;
    color: #343a40;
}

#dniModal .modal-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

#dniModal .modal-footer {
    border-top: none;
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
}

#dniInput.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

#dniInput.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#dniError {
    font-size: 0.875em;
    font-weight: 500;
    color: #dc3545; /* Rojo de Bootstrap para errores */
}



.badge.badge-custom {
    position: relative;
    background-color: transparent;
    border-radius: 50px;
    color: #ffffff !important;
    padding: 10px 20px;
    z-index: 1;
}

.badge.badge-custom::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 50px;
    z-index: -1;
}
