
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}
/*=============== LOGIN ===================/*/


.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */ /* Removido para alinhar ao topo */
    align-items: center;
    padding-top: 2rem; /* Espaço do topo */
    background: #F8F0E2;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

header img {
    width: 30%;
    height: auto;
    margin-bottom: 1rem;
}

header h1 {
    font-size: 2rem;
    color: rgb(146, 15, 15);
    text-align: center;
    margin: 0;
}

.login-container {
    background-color: rgb(146, 15, 15);
    padding: 3rem 2.5rem; /* Aumentado o padding */
    color: #FFE1A8;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    min-width: 320px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Alinha filhos à esquerda */
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFE1A8;
    font-weight: 500;
    text-align: left; /* Alinha texto à esquerda */
    width: 100%;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.7rem; /* Padding maior nos inputs */
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #f9fafb;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #0984e3;
    outline: none;
    background: #fff;
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background:#FFE1A8;
    color: rgb(146, 15, 15);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

button[type="submit"]:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}
/* Responsividade para telas menores */
@media (max-width: 600px) {
    header img {
        width: 50%;
        min-width: 80px;
        max-width: 120px;
    }

    header h1 {
        font-size: 1.3rem;
    }

    .login-container {
        width: 90%;
        padding: 1.5rem 0.7rem;
        min-width: unset;
        max-width: 100vw;
        border-radius: 8px;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    button[type="submit"] {
        font-size: 1rem;
        padding: 0.6rem;
    }
}

/*=============== LOGIN ===================/*/


/*=============== HOME ===================/*/

/*=============== animatior ===================/*/

@-webkit-keyframes scale-up-hor-center{0%{-webkit-transform:scaleX(.4);transform:scaleX(.4)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}
@keyframes scale-up-hor-center{0%{-webkit-transform:scaleX(.4);transform:scaleX(.4)}100%{-webkit-transform:scaleX(1);transform:scaleX(1)}}
div.card{-webkit-animation:scale-up-hor-center 1s cubic-bezier(.39,.575,.565,1.000) both;animation:scale-up-hor-center 1s cubic-bezier(.39,.575,.565,1.000) both}

@-webkit-keyframes tracking-in-expand-fwd-bottom{0%{letter-spacing:-.5em;-webkit-transform:translateZ(-700px) translateY(500px);transform:translateZ(-700px) translateY(500px);opacity:0}40%{opacity:.6}100%{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}}
@keyframes tracking-in-expand-fwd-bottom{0%{letter-spacing:-.5em;-webkit-transform:translateZ(-700px) translateY(500px);transform:translateZ(-700px) translateY(500px);opacity:0}40%{opacity:.6}100%{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}}
h1.h1{-webkit-animation:tracking-in-expand-fwd-bottom .8s cubic-bezier(.215,.61,.355,1.000) both;animation:tracking-in-expand-fwd-bottom .8s cubic-bezier(.215,.61,.355,1.000) both}
p.p{-webkit-animation:tracking-in-expand-fwd-bottom .8s cubic-bezier(.215,.61,.355,1.000) both;animation:tracking-in-expand-fwd-bottom .8s cubic-bezier(.215,.61,.355,1.000) both}
/*=============== animation ===================/*/
section.home-content{
    padding: 1rem;
    align-items: center;
    
}

.containerHome{
    max-width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

.header {
    margin: 0;
    width: 100%;
    color: #FFE1A8;
    display: flex;
    align-items: center;      
    flex-direction: row;
    justify-content: flex-start; 
    padding: 0.5rem 0;
    gap: 1rem; 
}

.header img {
    width: 5rem;
    height: auto;
    margin-left: 0.5rem;
    object-fit: contain;
}

.header p {
    font-size: 1rem;
    color: rgb(146, 15, 15);
    text-align: left;
    margin: 0;               
    padding: 0;
}

.header nav {
    margin-left: auto;  
    margin-right: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.header nav a {
    color: rgb(146, 15, 15);
    text-decoration: none;
    margin-left: 1rem;
    margin-right: 1rem;
}

.home-content {
    width: 100%;
    text-align: center;
    color: rgb(146, 15, 15);

}
.cards{
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
}
.card{
    width: 20rem;
    background-color: rgb(146, 15, 15);
    color: #FFE1A8;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    padding: 1rem;
    text-align: center;
}
.card:hover{
    transform: scale(0.91);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  color: rgb(146, 15, 15);
  cursor: pointer;
  background-color: antiquewhite;
  transition-duration: 0.3s;
}
/*=============== HOME ===================/*/
/* ... (todo o seu CSS existente) ... */

/* ==========================================================================
   Estilos para o Novo Dashboard (HomeAdmin)
   ========================================================================== */

.admin-header {
    background-color: var(--cor-superficie, #fff);
    padding: 2.5rem;
    border-bottom: 1px solid var(--cor-borda, #E0E0E0);
}

.admin-header h1 {
    font-size: 2.2rem;
    color: var(--cor-texto, #333);
    margin: 0;
}

.admin-header p {
    font-size: 1.1rem;
    color: var(--cor-texto-suave, #666);
    margin-top: 0.5rem;
}

.dashboard-grid {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    display: block;
    text-decoration: none;
    background-color: var(--cor-superficie, #fff);
    border: 1px solid var(--cor-borda, #E0E0E0);
    border-radius: var(--raio-borda, 8px);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-padrao, 0 8px 25px rgba(0,0,0,0.1));
}

.dashboard-card .icon {
    font-size: 2.5rem;
    color: var(--cor-primaria, #8C1D18);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.dashboard-card h3 {
    color: var(--cor-texto, #333);
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
}

.dashboard-card p {
    color: var(--cor-texto-suave, #666);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
/* =================================
   ESTILOS DO MODAL DE TRANSMISSÃO
   ================================= */

/* O fundo escuro que cobre a tela */
.modal-backdrop {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    
    /* Para centrar o modal */
    justify-content: center;
    align-items: center;
}

/* Classe que será adicionada via JS para mostrar */
.modal-backdrop.show {
    display: flex;
}

/* O "caixote" branco do modal */
.modal-content {
    background-color: white;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    /* Animação de entrada */
    transform: translateY(-30px);
    transition: transform 0.3s ease-out;
}

.modal-backdrop.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-family: 'Merriweather', serif; /* A usar a tua fonte */
}

.close-btn {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}
.modal-body p {
    font-size: 15px;
    margin-top: 0;
    line-height: 1.5;
}


/* Estilos do formulário dentro do modal */
.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    font-weight: 700; /* A usar o teu peso de fonte */
    margin-bottom: 8px;
    font-family: 'Roboto', sans-serif;
}

.modal-form input[type="url"],
.modal-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Garante que o padding não quebre o layout */
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.modal-form .form-actions {
    text-align: right;
    margin-top: 25px;
}

/* Estilo do botão de salvar (baseado no teu CSS de admin) */
.btn {
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: 'Roboto', sans-serif;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background-color: #3498db; /* Cor primária (exemplo) */
    color: white;
}
.btn-primary:hover {
    background-color: #2980b9;
}