body.tela-login {
    font-family: Arial, sans-serif;
    background: #0a1e38;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #fff;
}
.login-container {
    background: #fff;
    color: #000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px #00000055;
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.login-container img {
    width: 220px;
    margin-bottom: 20px;
}
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}
button {
    background: #004aad;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}
.erro {
    color: red;
    margin-top: 10px;
}
body.tela-painel {
    margin: 0;
    display: flex;
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
}

.menu-lateral {
    width: 300px;
    background: #004aad;
    color: white;
    min-height: 100vh;
    padding: 20px 15px;
    box-sizing: border-box;
}

.menu-lateral .logo-lateral {
    width: 100%;
    margin-bottom: 30px;
}

.menu-lateral ul {
    list-style: none;
    padding: 0;
}

.menu-lateral ul li {
    margin-bottom: 15px;
}

.menu-lateral ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-lateral ul li a:hover {
    background: #063b8b;
}

.painel-conteudo {
    flex-grow: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.cabecalho {
    background: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #333;
}

.conteudo {
    padding: 30px;
}

@media (max-width: 768px) {
    .menu-lateral {
        position: fixed;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }
    .painel-conteudo {
        margin-top: 200px;
    }
}
form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

form input, form select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

form button {
    margin-top: 20px;
}


.sucesso {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.erro {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}
table.tabela {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

table.tabela thead {
    background: #004aad;
    color: white;
}

table.tabela th, table.tabela td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

table.tabela tbody tr:hover {
    background-color: #f2f2f2;
}
.card-atalho {
    display: block;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    width: 200px;
    text-decoration: none;
    color: #004aad;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 0 8px #00000010;
}
.card-atalho:hover {
    background: #f5f9ff;
    transform: translateY(-2px);
}
.card-atalho span {
    font-size: 12px;
    color: #555;
}
a.nome-arbitro {
    color: #004aad;
    text-decoration: none;
    font-weight: bold;
}
a.nome-arbitro:hover {
    color: #0070e0;
    text-decoration: underline;
}
form.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

form.filtros select,
form.filtros button {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
}

form.filtros button {
    padding: 6px 12px;
    background: #004aad;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

form.filtros button:hover {
    background: #0064d3;
}

a.exportar-link {
    margin-left: auto;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    background: #28a745;
    color: white;
    font-size: 14px;
}

a.exportar-link:hover {
    background: #218838;
}
div.dt-buttons button.dt-button {
    font-size: 12px !important;
    padding: 4px 8px !important;
    margin: 2px 5px 2px 0 !important;
    border-radius: 4px;
    border: 1px solid #ccc !important;
    background-color: #f8f8f8 !important;
    color: #333 !important;
    box-shadow: none !important;
}

div.dt-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 10px 0;
}
/* Corrige o conflito com os botões do DataTables */
div.dt-buttons button.dt-button {
    width: auto !important;
    display: inline-block !important;
}
.tabela td {
    vertical-align: middle;
}

.btn-confirmar-mini {
    font-size: 12px;
    padding: 2px 8px;
    margin: 0;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
}

.btn-confirmar-mini:hover {
    background-color: #e0e0e0;
}
