/* =============================================
   ESTILOS ESPECÍFICOS PARA GESTIÓN DE MENÚS
   ============================================= */

.card-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.form-container {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.menu-actual {
    margin-top: 2rem;
}

.opcion-menu {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.opcion-menu .numero {
    background: #667eea;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.mensaje {
    padding: 0;  /* Sin padding cuando está vacío */
    border-radius: 8px;
    margin: 1rem 0;
    min-height: 0;  /* Permite que colapse cuando está vacío */
}

.mensaje.success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.mensaje.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive adjustments for menu management */
@media (max-width: 768px) {
    .card-menu {
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .opcion-menu {
        padding: 0.75rem 1rem;
    }
}
/* =============================================
   ESTILOS ESPECÍFICOS PARA REGISTRO DE CONSUMO
   ============================================= */

.card-consumo {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-consumo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.scanner-viewport {
    width: 100%;
    height: 300px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.scanner-viewport::before {
    content: "Área de escaneo";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 1.1rem;
}

.scanner-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.info-comensal-card {
    background: linear-gradient(135deg, #e0e7ff 0%, #f8f9fa 100%);
    border-left: 4px solid #667eea;
}

.comensal-datos {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.comensal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.comensal-item:last-child {
    border-bottom: none;
}

.comensal-label {
    font-weight: 600;
    color: #495057;
}

.comensal-value {
    color: #667eea;
    font-weight: 500;
}

.servicio-selection {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

/* Estados del escáner */
.scanner-active {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.scanner-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Responsive adjustments for consumo */
@media (max-width: 768px) {
    .scanner-viewport {
        height: 250px;
    }
    
    .scanner-controls {
        flex-direction: column;
    }
    
    .scanner-controls .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .servicio-selection .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .servicio-selection .text-end {
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    .scanner-viewport {
        height: 200px;
    }
    
    .comensal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        border-radius: 8px !important;
        margin-bottom: 0.5rem;
    }
    
    .input-group .btn {
        border-radius: 8px !important;
        width: 100%;
    }
}

/* Animaciones para mensajes */
.mensaje {
    transition: all 0.3s ease;
}

.mensaje .alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mejoras para los botones */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border: none;
}

.btn-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #d39e00 100%);
    border: none;
    color: #000;
}
/* =============================================
   ESTILOS ESPECÍFICOS PARA AUTORIZACIONES
   ============================================= */

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle;
    padding: 0.75rem;
}

.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive adjustments for autorizaciones */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
    
    .badge {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .card-header h5 {
        font-size: 1rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.775rem;
    }
}

/* Mejoras visuales para la tabla */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
/* =============================================
   ESTILOS ESPECÍFICOS PARA REPORTES
   ============================================= */

.reporte-estadisticas {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.estadistica-item {
    text-align: center;
    padding: 1rem;
}

.estadistica-valor {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    display: block;
}

.estadistica-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-reporte th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: none;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-reporte td {
    vertical-align: middle;
    padding: 0.75rem;
}

.badge-estadistica {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4em 0.8em;
}

/* Responsive adjustments for reportes */
@media (max-width: 768px) {
    .reporte-estadisticas {
        padding: 1rem;
    }
    
    .estadistica-item {
        padding: 0.5rem;
    }
    
    .estadistica-valor {
        font-size: 1.5rem;
    }
    
    .table-reporte {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .card-header h5 {
        font-size: 1rem;
    }
    
    .btn-group .btn {
        font-size: 0.775rem;
        padding: 0.25rem 0.5rem;
    }
    
    .estadistica-item {
        margin-bottom: 1rem;
    }
}

/* Mejoras visuales para tablas de reportes */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
    transition: all 0.2s ease;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Estilos personalizados para DataTables */
#tabla-usuarios_wrapper {
    padding: 0;
}

#tabla-usuarios {
    border-collapse: separate;
    border-spacing: 0;
}

#tabla-usuarios thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 0.5rem;
}

#tabla-usuarios tbody td {
    padding: 0.5rem;
    font-size: 0.875rem;
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.25rem 0.5rem;
    margin-left: 2px;
    border-radius: 0.375rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #667eea;
    color: white !important;
    border: 1px solid #667eea;
}

/* Responsive improvements */
@media (max-width: 768px) {
    #tabla-usuarios_wrapper .dataTables_length,
    #tabla-usuarios_wrapper .dataTables_filter {
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .btn-group-sm > .btn {
        padding: 0.25rem 0.4rem;
    }
}

/* Badge improvements */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}
/* =============================================
   ESTILOS ESPECÍFICOS PARA PÁGINA DE LOGIN
   ============================================= */

.login-page-body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-page-container {
    width: 100%;
    max-width: 420px;
}

.login-page-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b4591;
    margin-bottom: 5px;
}

.login-page-tagline {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 600;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.login-page-logo {
    width: 100px;
    margin-bottom: 15px;
}

.login-page-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f53ac;
    margin: 0 0 10px 0;
}

.login-page-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

.login-page-alert {
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.login-page-input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-page-input-icon {
    padding-left: 45px;
}

.login-page-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #667eea;
    vertical-align: middle;
}

.login-page-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.login-page-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-page-btn-icon {
    width: 20px;
    height: 20px;
}

.login-page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6a3e8f 100%);
}

.login-page-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-page-footer {
    text-align: center;
    margin-top: 25px;
}

.login-page-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.login-page-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #6c757d;
}

.login-page-feature-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
}

.login-page-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-page-link:hover {
    color: #764ba2;
}

/* Responsive para login */
@media (max-width: 576px) {
    .login-page-card {
        padding: 30px 25px;
    }
    
    .login-page-title {
        font-size: 1.3rem;
    }
    
    .login-page-logo {
        width: 80px;
    }
    
    .login-page-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .login-page-feature {
        flex-direction: row;
        justify-content: center;
    }
}
/* =============================================
   ESTILOS PARA NAVBAR Y FOOTER CON GRADIENTE
   ============================================= */

.navbar-custom-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom-gradient .navbar-brand {
    font-weight: 600;
    color: #ffffff !important;
}

.navbar-custom-gradient .navbar-brand:hover {
    opacity: 0.9;
}

.navbar-custom-gradient .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
}

.navbar-custom-gradient .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.navbar-custom-gradient .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-custom-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-custom-gradient .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.1);
        padding: 10px;
        border-radius: 8px;
        margin-top: 10px;
    }
}
/* =============================================
   ESTILOS ESPECÍFICOS PARA REPORTES DE MENÚS - VERSIÓN MEJORADA
   ============================================= */

.reporte-menus-estadisticas {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.estadistica-card {
    background: #ffffff !important;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.estadistica-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #667eea;
}

.estadistica-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    border-color: #667eea;
}

.estadistica-card.bg-primary::before {
    background: #667eea;
}

.estadistica-card.bg-success::before {
    background: #28a745;
}

.estadistica-card.bg-warning::before {
    background: #ffc107;
}

.estadistica-card.bg-info::before {
    background: #17a2b8;
}

.estadistica-valor {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    color: #212529;
    line-height: 1;
}

.estadistica-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin: 0;
}

/* Iconos para las estadísticas */
.estadistica-icono {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
    opacity: 0.8;
}

.estadistica-card.bg-primary .estadistica-icono {
    color: #667eea;
}

.estadistica-card.bg-success .estadistica-icono {
    color: #28a745;
}

.estadistica-card.bg-warning .estadistica-icono {
    color: #ffc107;
}

.estadistica-card.bg-info .estadistica-icono {
    color: #17a2b8;
}

/* Botón de exportación mejorado */
.btn-exportar-excel {
    background: #ffffff;
    border: 1px solid #28a745;
    color: #28a745;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-exportar-excel:hover {
    background: #28a745;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Responsive adjustments for reportes de menús */
@media (max-width: 768px) {
    .reporte-menus-estadisticas {
        padding: 1rem;
    }
    
    .estadistica-valor {
        font-size: 2rem;
    }
    
    .estadistica-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .estadistica-card .card-body {
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .estadistica-valor {
        font-size: 2.2rem;
    }
    
    .btn-exportar-excel {
        width: 100%;
        margin-top: 0.5rem;
    }
}
.estado-vacio {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.estado-vacio i {
    font-size: 4rem; /* Aumentado de 3rem a 4rem */
    margin-bottom: 1.5rem; /* Un poco más de separación */
    opacity: 0.6;
}

.estado-vacio h5 {
    font-weight: 600;
    margin-bottom: 1rem; /* Más separación */
    font-size: 1.5rem; /* Texto más grande */
    color: #495057;
}

.estado-vacio p {
    font-size: 1.1rem; /* Texto más grande */
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 500px;
}

/* Asegurar que el contenedor esté centrado vertical y horizontalmente */
.card-body .estado-vacio {
    min-height: 300px; /* Altura mínima para mejor centrado */
}

/* Responsive para estado vacío */
@media (max-width: 768px) {
    .estado-vacio {
        padding: 2rem 1rem;
        min-height: 250px;
    }
    
    .estado-vacio i {
        font-size: 3.5rem;
    }
    
    .estado-vacio h5 {
        font-size: 1.3rem;
    }
    
    .estado-vacio p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .estado-vacio {
        padding: 1.5rem 1rem;
        min-height: 200px;
    }
    
    .estado-vacio i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .estado-vacio h5 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .estado-vacio p {
        font-size: 0.95rem;
    }
}

/* =============================================
   SOLUCIÓN DEFINITIVA - INPUT MANUAL
   ============================================= */

/* RESET completo para el input group específico */
.manual-input-group {
    display: flex !important;
    width: 100% !important;
    position: relative !important;
}

/* Input - control total */
.manual-input-group #codigoManual {
    flex: 1 1 auto !important;
    min-height: 45px !important;
    height: 45px !important;
    font-size: 16px !important;
    padding: 10px 16px !important;
    border: 2px solid #e9ecef !important;
    border-right: none !important; /* Eliminar borde derecho para unión perfecta */
    border-radius: 8px 0 0 8px !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

/* Botón - control total */
.manual-input-group #btnBuscarManual {
    flex: 0 0 auto !important;
    min-height: 45px !important;
    height: 45px !important;
    padding: 10px 20px !important;
    border: 2px solid #0dcaf0 !important;
    border-left: none !important; /* Eliminar borde izquierdo para unión perfecta */
    border-radius: 0 8px 8px 0 !important;
    background: #0dcaf0 !important;
    color: white !important;
    margin: 0 !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

/* Estados de focus */
.manual-input-group #codigoManual:focus {
    border-color: #667eea !important;
    box-shadow: none !important;
    z-index: 3 !important;
}

.manual-input-group #btnBuscarManual:hover {
    background: #0aa2c0 !important;
    border-color: #0aa2c0 !important;
    transform: none !important;
}

/* ========== RESPONSIVE ABSOLUTO ========== */

/* Móviles (hasta 576px) */
@media (max-width: 576px) {
    .manual-input-group #codigoManual {
        min-height: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
        padding: 12px 16px !important;
    }
    
    .manual-input-group #btnBuscarManual {
        min-height: 50px !important;
        height: 50px !important;
        padding: 12px 16px !important;
        font-size: 16px !important;
        min-width: 90px !important;
    }
}

/* Tablets (577px a 768px) */
@media (max-width: 768px) and (min-width: 577px) {
    .manual-input-group #codigoManual {
        min-height: 48px !important;
        height: 48px !important;
    }
    
    .manual-input-group #btnBuscarManual {
        min-height: 48px !important;
        height: 48px !important;
        padding: 12px 18px !important;
    }
}

/* Desktop (769px+) */
@media (min-width: 769px) {
    .manual-input-group #codigoManual {
        min-height: 44px !important;
        height: 44px !important;
    }
    
    .manual-input-group #btnBuscarManual {
        min-height: 44px !important;
        height: 44px !important;
        padding: 10px 20px !important;
    }
}

/* ========== ELIMINAR ESTILOS CONFLICTIVOS DE BOOTSTRAP ========== */

/* Anular cualquier estilo de Bootstrap que cause problemas */
.input-group.manual-input-group > .form-control,
.input-group.manual-input-group > .form-select,
.input-group.manual-input-group > .form-floating {
    position: relative !important;
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
}

.input-group.manual-input-group:not(.has-validation) > .form-control:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Eliminar el enfoque de Bootstrap que causa dobles bordes */
.form-control:focus {
    box-shadow: none !important;
}