/* Estilo geral */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f1115;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    background-image: radial-gradient(circle at top left, #0d0d0d 0%, #1a1a1a 100%);
}

/* Títulos */
h1, h2, h3 {
    color: #00e0ff;
    text-shadow: 0 0 5px #00e0ff;
}

/* Inputs e Textareas */
input[type="text"], input[type="date"], textarea, select {
    background-color: #1a1a1a;
    border: 1px solid #00e0ff;
    border-radius: 5px;
    color: #e0e0e0;
    padding: 8px;
    width: 100%;
    margin-bottom: 10px;
}

textarea {
    height: 100px;
}

/* Botões */
input[type="submit"], button {
    background-color: #00e0ff;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover, button:hover {
    background-color: #00bcd4;
}

/* Links */
a {
    color: #00e0ff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Imagens e vídeos */
img, video {
    margin: 10px 0;
    border: 2px solid #00e0ff;
    border-radius: 10px;
}

/* Container */
.container {
    max-width: 800px;
    margin: auto;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #00e0ff55;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 1.4em;
        text-align: center;
    }

    nav {
        text-align: center;
        margin-top: 10px;
    }

    nav a {
        display: block;
        margin: 8px auto;
        padding: 10px;
        width: 90%;
        background-color: #00e0ff10;
        border-radius: 5px;
    }
}

/* Acessibilidade - Zoom */
.acessibilidade {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.acessibilidade button {
    background-color: #00e0ff;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 0 5px #00e0ff;
}

.acessibilidade button:hover {
    background-color: #00bcd4;
}

/* Reforço responsivo para botões de acessibilidade */
@media (max-width: 768px) {
    .acessibilidade {
        justify-content: center;
    }

    .acessibilidade button {
        width: 45%;
        text-align: center;
        font-size: 16px;
    }
}

/* Modo Alto Contraste */
.alto-contraste {
    background-color: #000 !important;
    color: #fff !important;
}

.alto-contraste h1, 
.alto-contraste h2, 
.alto-contraste h3 {
    color: yellow !important;
    text-shadow: none !important;
}

.alto-contraste a {
    color: #0ff !important;
}

.alto-contraste input,
.alto-contraste textarea,
.alto-contraste select {
    background-color: #000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

/* Foco visível para navegação por teclado */
a:focus, 
input:focus, 
button:focus, 
textarea:focus, 
select:focus {
    outline: 3px solid #00e0ff;
    background-color: #001f33;
}

/* Apenas para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Estilo para tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #1a1a1a;
    box-shadow: 0 0 10px #00e0ff33;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    border: 1px solid #00e0ff22;
    text-align: left;
}

th {
    background-color: #00e0ff;
    color: #000;
    font-weight: bold;
}

td {
    color: #e0e0e0;
}

tr:nth-child(even) {
    background-color: #2a2a2a;
}

tr:hover {
    background-color: #003344;
}

/* Responsivo */
@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    th {
        display: none;
    }

    td {
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    td::before {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 45%;
        white-space: nowrap;
        color: #00e0ff;
        font-weight: bold;
        content: attr(data-label);
    }
}

/* Acessibilidade no topo direito */
.acessibilidade-topo {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
}

.acessibilidade-topo button {
    background-color: #00e0ff;
    color: #000;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 0 5px #00e0ff;
}

.acessibilidade-topo button:hover {
    background-color: #00bcd4;
}

