body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Barra superior */
.header {
    background-color: #bb0000;
    color: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.header h2 {
    margin: 0;
    font-weight: normal;
}

/* Login discreto */
.login {
    font-size: 13px;
    opacity: 0.9;
    flex-shrink: 0;
}

.login a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.login a:hover {
    text-decoration: underline;
}

/* Dashboard - cerrar sesión */
.logout {
    font-size: 13px;
    flex-shrink: 0;
}

.logout a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logout a:hover {
    text-decoration: underline;
}

.usuario {
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

/* Contenedor */
.container {
    max-width: 1100px;
    margin: 60px auto;
    text-align: center;
}

h1 {
    color: #bb0000;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Botones tipo tarjetas */
.buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 85%;
    }
    .header {
        display: block;
        padding: 12px 15px;
    }
    .header h2 {
        font-size: 15px;
        padding-right: 0;
        margin-bottom: 10px;
    }
    .login, .logout {
        display: block;
        border-top: 1px solid rgba(255,255,255,0.3);
        padding-top: 8px;
        font-size: 13px;
    }
}

.card {
    background-color: white;
    width: 300px;
    padding: 30px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-top: 5px solid #bb0000;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.card img {
    width: 50px;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
    color: #bb0000;
    font-weight: 500;
}

.card p {
    font-size: 14px;
    color: #666;
}

