/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none; /* Hidden by default, shown in media query */
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    display: none; /* Hidden by default, shown by JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
}

/* Estilos específicos para la página de tickets */

/* Cards específicas */
.instructions-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
}

.instructions-card .card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.instructions-card .card-header h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instructions-card .card-content {
    padding: 1.5rem;
    color: #374151;
}

.instruction-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.instruction-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

.instruction-list li:last-child {
    border-bottom: none;
}

.instruction-list li strong {
    color: #3b82f6;
    margin-right: 0.5rem;
    font-weight: 600;
}

.ticket-form-card {
    margin-bottom: 2rem;
}

.ticket-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-input,
.form-textarea,
.form-select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-submit {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

/* Tabla de tickets */
.tickets-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tickets-table .table-header {
    display: grid;
    grid-template-columns: 80px 2fr 120px 120px 180px 120px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
}

.tickets-table .header-cell {
    padding: 1rem;
    text-align: left;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tickets-list {
    max-height: 400px;
    overflow-y: auto;
}

.ticket-row {
    display: grid;
    grid-template-columns: 80px 2fr 120px 120px 180px 120px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.ticket-row:hover {
    background-color: #f8fafc;
}

.ticket-cell {
    padding: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #374151;
}

.ticket-cell:first-child {
    font-weight: 600;
    color: #3b82f6;
}

/* Estados de tickets */
.status-open {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-in_progress {
    background: #fef3c7;
    color: #d97706;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-closed {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-resolved {
    background: #d1fae5;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Prioridades */
.priority-low {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.priority-medium {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.priority-high {
    background: #fef3c7;
    color: #d97706;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.priority-urgent {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Botones de acción */
.btn-view {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-view:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Búsqueda */
.search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.ticket-details {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.ticket-details h4 {
    margin: 0 0 1rem 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.ticket-details p {
    margin: 0.5rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.messages-section h4 {
    margin: 0 0 1rem 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.messages-list {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.message-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e5e7eb;
}

.message-item.user-message {
    background: #f8fafc;
    border-left-color: #3b82f6;
}

.message-item.admin-message {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-author {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.message-author.admin {
    color: #dc2626;
}

.message-author.user {
    color: #3b82f6;
}

.message-author.other-user {
    color: #059669;
}

.message-date {
    color: #6b7280;
    font-size: 0.8rem;
}

.message-content {
    color: #374151;
    line-height: 1.5;
    font-size: 0.9rem;
}

.reply-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.reply-section textarea {
    width: 100%;
    margin-bottom: 1rem;
}

.reply-section button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reply-section button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Responsive Design Mejorado para Tickets */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .main-content {
        margin-left: 250px;
        padding: 15px;
    }
    
    .top-header {
        padding: 15px 20px;
    }
    
    .header-left h1 {
        font-size: 20px;
    }
    
    .tickets-container {
        gap: 20px;
    }
    
    .tickets-table {
        overflow-x: auto;
    }
    
    .tickets-table .table-header,
    .ticket-row {
        min-width: 800px;
    }
}

/* Móviles y tablets pequeñas */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px 0;
    }
    
    .main-container {
        flex-direction: column;
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .top-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }
    
    .header-left h1 {
        font-size: 18px;
        justify-content: center;
    }
    
    .header-left p {
        font-size: 13px;
    }
    
    .header-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .btn-admin, .btn-account, .btn-logout {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .tickets-container {
        gap: 15px;
    }
    
    .instructions-card {
        margin-bottom: 1.5rem;
    }
    
    .instructions-card .card-header {
        padding: 1rem;
    }
    
    .instructions-card .card-header h3 {
        font-size: 1.1rem;
    }
    
    .instructions-card .card-content {
        padding: 1rem;
    }
    
    .instruction-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .ticket-form {
        gap: 1rem;
    }
    
    .form-group {
        gap: 0.4rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Tabla de tickets responsive */
    .tickets-table {
        overflow-x: auto;
    }
    
    .tickets-table .table-header,
    .ticket-row {
        grid-template-columns: 60px 1fr 100px 100px 120px 100px;
        min-width: 700px;
    }
    
    .tickets-table .header-cell,
    .ticket-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Modal responsive */
    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .ticket-details {
        padding: 1rem;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .messages-list {
        max-height: 250px;
        padding: 0.75rem;
    }
    
    .message-item {
        padding: 0.75rem;
    }
    
    .message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .message-date {
        font-size: 0.75rem;
    }
    
    .message-content {
        font-size: 0.9rem;
    }
    
    /* Búsqueda responsive */
    .search-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-input {
        width: 100%;
    }
    
    /* Estados y prioridades responsive */
    .status-open,
    .status-in_progress,
    .status-closed,
    .status-resolved,
    .priority-low,
    .priority-medium,
    .priority-high,
    .priority-urgent {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }
    
    .top-header {
        padding: 12px;
        gap: 12px;
    }
    
    .header-left h1 {
        font-size: 16px;
    }
    
    .header-left p {
        font-size: 12px;
    }
    
    .header-right {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-admin, .btn-account, .btn-logout {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 12px;
    }
    
    .tickets-container {
        gap: 12px;
    }
    
    .instructions-card {
        margin-bottom: 1rem;
    }
    
    .instructions-card .card-header {
        padding: 0.75rem;
    }
    
    .instructions-card .card-header h3 {
        font-size: 1rem;
    }
    
    .instructions-card .card-content {
        padding: 0.75rem;
    }
    
    .instruction-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .ticket-form {
        gap: 0.75rem;
    }
    
    .form-group {
        gap: 0.3rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Tabla de tickets móvil */
    .tickets-table .table-header,
    .ticket-row {
        grid-template-columns: 50px 1fr 80px 80px 100px 80px;
        min-width: 600px;
    }
    
    .tickets-table .header-cell,
    .ticket-cell {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    /* Modal móvil */
    .modal-content {
        width: 98%;
        margin: 1% auto;
        max-height: 98vh;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 0.75rem;
    }
    
    .ticket-details {
        padding: 0.75rem;
    }
    
    .messages-list {
        max-height: 200px;
        padding: 0.5rem;
    }
    
    .message-item {
        padding: 0.5rem;
    }
    
    .message-content {
        font-size: 0.85rem;
    }
    
    /* Estados y prioridades móvil */
    .status-open,
    .status-in_progress,
    .status-closed,
    .status-resolved,
    .priority-low,
    .priority-medium,
    .priority-high,
    .priority-urgent {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Indicador de no leídos móvil */
    .unread-indicator {
        width: 6px;
        height: 6px;
        margin-left: 4px;
    }
    
    .ticket-id {
        gap: 4px;
    }
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .sidebar {
        height: 60px;
        padding: 10px 0;
    }
    
    .logo {
        padding: 0 15px 10px;
        margin-bottom: 10px;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        padding: 0 15px;
    }
    
    .nav-item {
        margin-bottom: 0;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    .nav-item span {
        display: none;
    }
    
    .main-content {
        margin-top: 60px;
    }
    
    .tickets-table .table-header,
    .ticket-row {
        grid-template-columns: 50px 1fr 80px 80px 100px 80px;
        min-width: 600px;
    }
}

/* Dispositivos muy pequeños */
@media (max-width: 360px) {
    .main-content {
        padding: 8px;
    }
    
    .top-header {
        padding: 10px;
    }
    
    .header-left h1 {
        font-size: 14px;
    }
    
    .header-left p {
        font-size: 11px;
    }
    
    .btn-admin, .btn-account, .btn-logout {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .instructions-card .card-header h3 {
        font-size: 0.9rem;
    }
    
    .instruction-list li {
        font-size: 0.8rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .tickets-table .table-header,
    .ticket-row {
        grid-template-columns: 40px 1fr 70px 70px 90px 70px;
        min-width: 500px;
    }
    
    .tickets-table .header-cell,
    .ticket-cell {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }
}

/* Mejoras para accesibilidad táctil */
@media (max-width: 768px) {
    .nav-item,
    .btn-admin,
    .btn-account,
    .btn-logout,
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        min-height: 44px;
        touch-action: manipulation;
    }
}

/* Indicador de mensajes no leídos */
.unread-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Ajuste para el ID del ticket con indicador */
.ticket-id {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Estilos para tickets cerrados/resueltos */
.form-textarea:disabled {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    border-color: #d1d5db !important;
}

.form-textarea:disabled::placeholder {
    color: #9ca3af !important;
}

.btn:disabled {
    background-color: #9ca3af !important;
    border-color: #9ca3af !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled:hover {
    background-color: #9ca3af !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Estilos para la nota de ticket cerrado */
.ticket-closed-notice {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #dc2626;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticket-closed-notice i {
    color: #dc2626;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
    }

    /* Sidebar para móviles */
    .sidebar {
        width: 280px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -280px; /* Hidden by default */
        z-index: 1001;
        transition: left 0.3s ease;
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        padding: 20px 0;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .sidebar.active {
        left: 0; /* Slide in */
    }

    /* Main content adjustments */
    .main-content {
        padding-top: 80px; /* Space for the hamburger button */
        margin-left: 0;
    }

    /* Header adjustments */
    .top-header {
        margin-top: 20px;
    }

    /* Mejorar la navegación móvil */
    .nav-item {
        padding: 16px 20px;
        margin-bottom: 4px;
        border-radius: 0;
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
    }

    .nav-item:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: #3b82f6;
    }

    .nav-item.active {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        border-left-color: #60a5fa;
    }

    /* Logo mejorado para móvil */
    .logo {
        padding: 20px;
        margin-bottom: 30px;
        border-bottom: 1px solid #475569;
    }

    .logo-text {
        font-size: 22px;
    }
}
