body { min-height: 100vh; }
.sidebar { width: 260px; }
@media (max-width: 992px){ .sidebar{ width:100%; } }
.file-row:hover{ background:#f8f9fa; }
.navbar-brand img { width: 40px; }

h5 {
	background: #f6f6f6;
	padding: 1rem;
	border-radius: 6px;
}
a{
    text-decoration: none;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notices-btn {
    position: relative;
    border-radius: 6px;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #333;
}
.notices-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.message {
	background: #f6f6f6;
	padding: 1rem;
	border-radius: 6px;
}

/* Estilos para el listado de archivos */
.list-group-item {
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item .btn {
    padding: 0.25rem 0.5rem;
}

@media (max-width: 576px) {
    .list-group-item .d-flex {
        gap: 0.5rem !important;
    }
    
    .list-group-item .btn {
        padding: 0.25rem 0.4rem;
    }

    .navbar-nav {
        margin-top: 1rem;
    }
    .navbar-nav .nav-item{
        width: 100%;
        padding: 0.5rem 1rem;
        background: #333;
        border-radius: 6px;
        margin-bottom: 5px;
    }
}
