* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #f5f5f5;
}

/* =========================
   BOTÓN DEL MENÚ
========================= */

.menu-button {
    position: fixed;
    top: 15px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    color: white;
    background-color: rgba(44, 62, 80, 0.85);
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

.menu-button:hover {
    background-color: rgba(52, 73, 94, 0.9);
}

.menu-button.left {
    left: 20px;
}

/* =========================
   MENÚ LATERAL
========================= */

#side-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background-color: #2c3e50;
    transition: left 0.3s ease;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

#side-menu.open {
    left: 0;
}

/* =========================
   LOGO
========================= */

.logo {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 5px;
}

.logo img {
    max-width: 125px;
    margin-bottom: 10px;
}

.logo h2 {
    color: white;
    font-size: 20px;
    margin: 0;
    padding: 0;
}

.menu-divider {
    border: none;
    height: 1px;
    background-color: #3b5168;
    margin: 18px 0;
}

/* =========================
   TARJETA DE FILTROS
========================= */

.filter-card {
    background-color: #243447;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.filter-card h3 {
    color: white;
    font-size: 17px;
    margin-bottom: 18px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #ecf0f1;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
}

.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background-color: #34495e;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.form-group select:hover {
    background-color: #3d566e;
}

.form-group select:focus {
    box-shadow: 0 0 0 2px #3498db;
}

.form-group select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-group option {
    background-color: #2c3e50;
    color: white;
}

/* =========================
   BOTÓN ABRIR INCENTIVO
========================= */

.open-btn {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background-color: #27ae60;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.open-btn:hover {
    background-color: #2ecc71;
}

.open-btn:disabled {
    background-color: #566573;
    cursor: not-allowed;
    opacity: 0.7;
}

/* =========================
   CONTENIDO PRINCIPAL
========================= */

#main-content {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ecf0f1;
    overflow: hidden;
    z-index: 800;
    padding: 0;
}

#main-content.menu-open {
    left: 320px;
    width: calc(100% - 320px);
}

#dashboard {
    width: 100%;
    height: 100%;
    border: none;
    max-width: 94%;
    max-height: 97%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    #side-menu {
        width: 270px;
        left: -270px;
    }

    #main-content.menu-open {
        left: 270px;
        width: calc(100% - 270px);
    }

    .logo img {
        max-width: 105px;
    }

    .logo h2 {
        font-size: 18px;
    }

    .filter-card {
        padding: 15px;
    }
}