/* ================================
   RESET GLOBAL
================================ */
* {
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ================================
   BODY / BACKGROUND
================================ */
html, body {
    min-height: 100vh;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('imagens/fundo.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 40px 0;
    overflow-y: auto;
}

/* ================================
   CONTAINER CENTRAL
================================ */
.container-principal {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================================
   GLASS CARD
================================ */
.login-box,
.cliente-box {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px 28px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
    text-align: center;
}

/* Painel grande */
.cliente-box {
    max-width: 1100px;
}

/* ================================
   LOGO
================================ */
.logo-container img {
    max-width: 130px;
    margin-bottom: 18px;
}

/* ================================
   FORM FIELDS
================================ */

input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 14px !important;
    margin-bottom: 20px !important; /* Espaço entre campos */
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 16px;
    transition: 0.3s;
}

.campo-grupo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

label {
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75);
    margin-left: 6px;
    text-transform: uppercase;
}

/* INPUTS E SELECT */
input,
select {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 15px;
    transition: 0.3s;
    outline: none;
}

/* Placeholder */
input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Focus */
input:focus,
select:focus {
    border-color: #db3434;
    background: rgba(0, 0, 0, 0.55);
}

/* Remove setinha feia no select */
select {
    appearance: none;
}

/* ================================
   BOTÕES
================================ */
button,
.btn-login {
    width: 100%;
    background: #db3434;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 8px;
    text-transform: uppercase;
}

button:hover,
.btn-login:hover {
    background: #b92929;
    transform: translateY(-2px);
}

/* BOTÃO BORDA */
.btn-borda {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: 0.3s;
}

.btn-borda:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* ================================
   TABELAS (ADMIN)
================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

th {
    text-align: left;
    padding: 14px;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    color: #db3434;
    font-size: 12px;
    text-transform: uppercase;
}

td {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.campo-grupo input,
.campo-grupo select {
    height: 48px; /* força altura consistente */
    padding: 0 14px;
    border-radius: 10px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    outline: none;
}

.campo-grupo label {
    text-align: left;
}

#titulo-cadastro {
    margin-bottom: 20px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #3f3f3f;
}

button:disabled:hover {
    background-color: #9c9c9c;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 480px) {
    .login-box {
        padding: 26px 20px;
    }
}

/* Estilo para a seção expansível */
.janela-video {
    background: rgba(52, 152, 219, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.btn-expandir-video {
    width: 100%;
    padding: 15px;
    background: rgba(52, 152, 219, 0.1);
    border: none;
    color: #3498db;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.btn-expandir-video:hover {
    background: rgba(52, 152, 219, 0.2);
}

.conteudo-video {
    display: none; /* Começa escondido */
    padding: 20px;
    animation: fadeIn 0.4s;
}

.conteudo-video.aberto {
    display: block;
}
