/* Estilos generales para el sistema Billar */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f4f4;
    font-family: Arial, sans-serif;
    color: #111;
    width: 100vw;
    box-sizing: border-box;
}
header {
    background: #fbff14;
    color: #111;
    padding: 0 0 2px 0;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    width: 100vw;
    box-sizing: border-box;
}
.header-logo {
    height: 48px;
    width: 48px;
    margin-left: 18px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.header-logo img {
    height: 40px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}
.header-title {
    flex: 1;
    text-align: left;
    font-size: 1.05em;
    font-family: 'Roboto', 'Bebas Neue', 'Oswald', 'Impact', 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    color: #111;
    margin-left: 12px;
    margin-top: 2px;
    margin-bottom: 0;
    text-shadow: 1px 1px 0 #fbff14, 0 0 1px #fff;
}
nav.menu-principal {
    background: #111;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 0 18px 0 0;
    margin: 0;
    height: 100%;
    width: auto;
    border-radius: 0 0 8px 8px;
}
nav.menu-principal a {
    color: #fbff14;
    text-decoration: none;
    font-size: 0.98em;
    font-weight: 600;
    padding: 7px 16px;
    display: block;
    transition: background 0.2s, color 0.2s;
    border-radius: 6px;
    outline: none;
    margin: 0 2px;
}
nav.menu-principal a:focus, nav.menu-principal a:hover, nav.menu-principal a.active {
    background: #fbff14;
    color: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
footer {
    background: #fbff14;
    color: #111;
    text-align: center;
    padding: 0.4em 0;
    position: sticky;
    left: 0;
    bottom: 0;
    width: 100vw;
    font-size: 0.92em;
    z-index: 99;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
}
main {
    flex: 1;
    padding: 2em 2vw;
    max-width: 100vw;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    width: 100vw;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    header {
        min-height: 44px;
        font-size: 0.95em;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 2vw 2px 2vw;
    }
    .header-logo {
        height: 28px;
        width: 28px;
        margin-left: 2vw;
    }
    .header-logo img {
        height: 22px !important;
        width: auto !important;
    }
    .header-title {
        font-size: 0.8em;
        margin-left: 2vw;
        margin-top: 1px;
    }
    nav.menu-principal {
        gap: 4px;
        flex-wrap: wrap;
        padding: 0 2vw;
    }
    nav.menu-principal a {
        font-size: 0.93em;
        padding: 4px 2px;
        border-radius: 0 0 6px 6px;
    }
    footer {
        font-size: 0.85em;
        padding: 0.2em 0;
    }
    main {
        padding: 1em 1vw;
        border-radius: 0;
    }
}
