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

body {
    font-family: Arial, sans-serif;
    background-color: #F4F4F4; /* Cinza claro para o fundo */
    color: #333333; /* Texto escuro para boa legibilidade */
}

/* Header e logo */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #333;
    color: white;
}

header .logo h1 {
    font-size: 2em;
}

nav ul {
    list-style: none;
    text-align: center;
    margin-top: 20px;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

/* Menu Hamburger */
.menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 30px;
    height: 5px;
    margin: 6px auto;
    background-color: white;
    border-radius: 5px;
}

nav ul.active {
    display: block;
}

#alerta{
    padding-top: 15px;
    margin: 20px;
    margin: 0 auto;
    margin-bottom: 15px;
   
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background-color: #fd3f14;
    color: #FFF;
    font-size: 25px;
    font-weight: 700;
    align-items: center;
}

#alerta_fechar{
    padding: 10px;
    font-size: 15px;
    background-color: #FFF;
    color: #fd3f14;
    cursor: pointer;
    width: 150px;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    border: none;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        margin: 0 auto;
    }
    
    .menu-toggle .bar {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
    }
    
    nav ul {
        display: none;
        margin-top: 20px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul.active {
        display: block;
    }
}

/* Seção cPanel */
.cpanel {
    padding: 60px 20px;
    background-color: #ffffff;
}

.cpanel h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.filtro{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;  
}
.filtro-item{
    background-color: #ffffff;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.busca-espelho{
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;  
}

.btn-buscar {
    background-color: #fd3f14; /* Vermelho principal */
    color: white;
    padding: 0px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    height: 50px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.btn-buscar:hover {
    background-color: #d14f53; /* Um tom mais escuro de vermelho */
}

.espelhos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.espelho-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.espelho-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.espelho-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.espelho-item p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.espelho-item label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.espelho-item input[type="number"],
.espelho-item input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.espelho-item button {
    background-color: #fd3f14; /* Vermelho principal */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    text-transform: uppercase;
}

.espelho-item button:hover {
    background-color: #d14f53; /* Um tom mais escuro de vermelho */
}

.btn-enviar{
    margin-top: 35px;
    background-color: #fd3f14; /* Vermelho principal */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    text-transform: uppercase;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .espelhos {
        grid-template-columns: 1fr;
    }

    .espelho-item {
        padding: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .cpanel h2 {
        font-size: 1.5rem;
    }
}

footer {
    background-color: #333333; /* Cinza escuro */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
