/* Estilos dashboard mejorados */

/* General */
.container {
    max-width: 1200px;
}
.seccion-screen-score {
    margin-top: 2%;
}


/* Screenshot */
.laptop-frame {
    background-image: url('/static/images/frame-desktop2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    max-width: 450px;
    height: 325px;
    position: relative;
    margin: 0 auto;
    padding: 10px 43px 10px 43px;
}
.laptop-frame .screen {
    position: absolute;
    top: 5%;
    left: 12%;
    width: 76%;
    height: 79%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0);
}
.laptop-frame .screen img.desktop-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Enlaces consistentes */
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}



/* Problemas */
.accordion-button {
    font-size: 1.1rem;
    font-weight: 500;
}
.accordion-body.problem-content {
    font-size: 1rem;
    line-height: 1.6;
}
.problem-content a {
    color: #007bff;
    text-decoration: underline;
}
.problem-content a:hover {
    color: #0056b3;
    text-decoration: none;
}
.problem-content p {
    margin-bottom: 1rem;
}
.problem-content br {
    display: none;
}
.good-header {
    background-color: #d4edda !important;
    color: #155724 !important;
}
.neutral-header {
    background-color: #fff3cd !important;
    color: #856404 !important;
}
.bad-header {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}
.filter-btn {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
}
.filter-btn.active {
    color: white !important;
}
.filter-btn.active.btn-outline-success {
    background-color: #28a745 !important;
}
.filter-btn.active.btn-outline-warning {
    background-color: #ffc107 !important;
}
.filter-btn.active.btn-outline-danger {
    background-color: #dc3545 !important;
}
.badge {
    margin-left: 0.5rem;
}

/* CSS Ajustado */

.container {
    max-width: 1200px;
    background-color: #f8f9fa;
}

h1.h4 {
    font-size: 1.25rem;
}

.score-circle {
    width: 80px;
    height: 80px;
    border: 4px solid #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #ffc107;
    background: white;
}

.nav-pills .nav-link {
    border-radius: 50rem;
    padding: 0.25rem 1rem;
    margin-right: 0.5rem;
    list-style: none;
}

.nav-pills {
    padding-top: 5%;
}

/* Mini barras de progreso */
.mini-progress-bars {
    width: 100%;
}

.mini-progress-bars .progress-item {
    margin-bottom: 10px; /* Espaciado entre ítems */
}

.mini-progress-bars .progress-label {
    display: block;
    font-size: 0.9rem; /* Tamaño de fuente ligeramente mayor para legibilidad */
    font-weight: 500; /* Negrita ligera para destacar */
    color: #333; /* Color oscuro para contraste */
    margin-bottom: 5px; /* Espacio entre la etiqueta y la barra */
}

.mini-progress-bars .progress {
    height: 20px;
    margin-bottom: 0; /* Eliminar margen inferior para control total */
    background-color: #f5f5f5; /* Fondo gris claro para las barras vacías */
    border-radius: 10px; /* Bordes redondeados para un look moderno */
    overflow: hidden; /* Asegurar que el contenido no se desborde */
}

.mini-progress-bars .progress-bar {
    font-size: 0; /* Eliminar texto dentro de la barra */
    padding: 0; /* Eliminar padding interno */
    text-align: left; /* Alinear a la izquierda por si se reintroduce texto */
    border-radius: 10px; /* Bordes redondeados para consistencia */
}

.mini-progress-bars .progress-bar.bg-success {
    background-color: #28a745; /* Verde estándar para consistencia */
}

.mini-progress-bars .progress-bar.bg-warning {
    background-color: #ffc107; /* Amarillo estándar */
}

.mini-progress-bars .progress-bar.bg-danger {
    background-color: #dc3545; /* Rojo estándar */
}

/* Quitar puntos de lista en los filtros */
.nav-pills.mb-4 {
    list-style-type: none !important; /* Forzar eliminación de puntos */
}
.nav-pills.mb-4 li {
    list-style-type: none !important; /* Asegurar que los elementos no tengan puntos */
}

/* Show More */
.show-more-btn {
    padding: 0;
    color: #2980b9;
    font-size: 0.9rem;
}

/* Links in Lists */
.list-group.list-group-flush .list-group-item {
    border: none; /* Eliminar bordes */
    padding: 0.25rem 0;
}
.list-group-item a {
    word-break: break-all;
    color: #2980b9;
    text-decoration: underline;
}
.list-group-item a:hover {
    color: #1a5276;
    text-decoration: none;
}
.list-group-item img {
    max-width: 50px; /* Limitar tamaño de imágenes */
    height: auto;
    margin-right: 10px;
}

.status-icon {
    font-size: 1.2rem;
}

.data-details p {
    font-size: 0.9rem;
    color: #6c757d;
}

.data-details strong {
    color: #333;
}

.collapse.show {
    padding-top: 1rem;
}


.accordion-button {
    font-size: 1.1rem;
    font-weight: 500;
}
.status-btn {
    background-color: transparent; /* Reset default */
}
.status-btn[data-status="good"] {
    background-color: #d4edda; /* Verde */
    color: #155724;
}
.status-btn[data-status="neutral"] {
    background-color: #fff3cd; /* Amarillo */
    color: #856404;
}
.status-btn[data-status="bad"] {
    background-color: #f8d7da; /* Rojo */
    color: #721c24;
}
.accordion-body.problem-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
.problem-content a {
    color: #007bff;
    text-decoration: underline;
}
.problem-content a:hover {
    color: #0056b3;
    text-decoration: none;
}
.problem-content p {
    margin-bottom: 1rem;
}
.problem-content br {
    display: none;
}
.good-header {
    background-color: #d4edda !important;
    color: #155724 !important;
}
.neutral-header {
    background-color: #fff3cd !important;
    color: #856404 !important;
}
.bad-header {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}
.filter-btn {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
}
.filter-btn.active {
    color: white !important;
}
.filter-btn.active.btn-outline-success {
    background-color: #28a745 !important;
}
.filter-btn.active.btn-outline-warning {
    background-color: #ffc107 !important;
}
.filter-btn.active.btn-outline-danger {
    background-color: #dc3545 !important;
}
.badge {
    margin-left: 0.5rem;
}

.data-section {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.data-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.data-list {
    margin-bottom: 0;
}
.data-list dt {
    font-weight: 600;
    color: #34495e;
}
.data-list dd {
    margin-left: 0;
    color: #333;
}
.data-link {
    color: #2980b9;
    text-decoration: underline;
    word-break: break-word;
}
.data-link:hover {
    color: #1a5276;
    text-decoration: none;
}


