/* ============================================
   ESTILOS GLOBAIS
   ============================================ */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #f0f2f5, #e3e8ef);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    padding-top: 80px;
    color: #333;
    overflow-x: hidden;
}

h1 {
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

h2 {
    color: #34495e;
}

h3 {
    color: #2c3e50;
    margin-bottom: 16px;
    text-align: center;
}

/* Overlay para fechar seleção */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.overlay.active {
    display: block;
}

/* Controles de posição fixa */
.controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
}

.controls button {
    padding: 12px 20px;
    background-color: #34495e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: inherit;
}

.controls button:hover {
    background-color: #2c3e50;
}

.btn-adm-toggle.active {
    background-color: #e74c3c;
}

.btn-adm-toggle.active:hover {
    background-color: #c0392b;
}