* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#logo{
    color:#f4f6f9;
    font-size: 1.8rem;
}
#logo span{
    color: #3498db;
}
header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .bienvenida {
    font-size: 14px;
}

.menu-nav {
    display: grid;
    grid-template-columns: 240px 1fr;
    flex: 1;
}

nav {
    background-color: #344d66;
    padding: 20px 0;
}

nav ul {
    list-style: none;
}

nav ul li a {
    display: block;
    color: #cbdcf7;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 15px;
}

nav ul li a:hover, nav ul li.active a {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

main {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    padding: 30px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.Tmetricas {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.cajas {
    background-color: white;
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.cajas h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cajas .cantidad {
    font-size: 28px;
    font-weight: bold;
    color: #3498db;
}

.menu-tareas h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #444;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

th, td {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
}

th {
    background-color: #f8f9fa;
    color: #555;
    font-weight: 600;
}

/* Efecto cebra en filas alternadas */
tbody tr:nth-child(even) {
    background-color: #f9fbfd;
}

.estado {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.estado.entregado {
    background-color: #e6f7ed;
    color: #1f7a42;
}

.estado.pendiente {
    background-color: #fff3e6;
    color: #b26a00;
}

aside {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

aside h2 {
    font-size: 16px;
    color: #0a0a0a;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

aside ul {
    list-style: none;
}

aside ul li {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #555;
}
footer {
    background-color: #212529;
    color: #aaa;
    text-align: center;
    padding: 15px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    nav ul li a {
        padding: 10px 15px;
    }

    main {
        grid-template-columns: 1fr;
    }

    .Tmetricas {
        flex-direction: column;
    }
}