/* ==========================================
   OLYMPO ADMIN V2
   LAYOUT
========================================== */


/* ==========================================
   HEADER
========================================== */

.header {
    position: relative;

    width: 100%;
    min-height: 180px;

    background: #0d131b;

    border-bottom: 1px solid #252d36;

    overflow: hidden;
}


/* ==========================================
   BANNER
========================================== */

.header-banner {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}

.header-banner picture,
.header-banner img {
    display: block;

    width: 100%;
    height: 100%;
}

.header-banner img {
    object-fit: cover;
}


/* ==========================================
   CAMADA SOBRE O BANNER
========================================== */

.header-overlay {
    position: relative;

    z-index: 2;

    width: 100%;
    min-height: 180px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.45)
        );
}


/* ==========================================
   CONTAINER DO HEADER
========================================== */

.header-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    width: min(1200px, calc(100% - 40px));
    min-height: 180px;

    margin: 0 auto;
}


/* ==========================================
   LOGO
========================================== */

.logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}

.logo img {
    width: 150px;
    height: auto;

    object-fit: contain;
}


/* ==========================================
   TÍTULO DO HEADER
========================================== */

.titulo-header {
    padding: 10px 16px;

    background: rgba(0, 0, 0, 0.45);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    backdrop-filter: blur(4px);
}

.titulo-header span {
    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.3px;
}


/* ==========================================
   CONTEÚDO PRINCIPAL
========================================== */

.main {
    width: 100%;

    min-height: calc(100vh - 180px);
}


/* ==========================================
   CONTAINER
========================================== */

.container {
    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

    padding: 45px 0 60px;
}


/* ==========================================
   TÍTULO DA PÁGINA
========================================== */

.pagina-titulo {
    margin-bottom: 35px;
}

.pagina-titulo__mini {
    display: block;

    margin-bottom: 7px;

    color: #d4af37;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 2px;
}

.pagina-titulo h1 {
    margin-bottom: 8px;

    font-size: 30px;
    font-weight: 600;

    line-height: 1.2;
}

.pagina-titulo p {
    color: #7f8994;

    font-size: 14px;
}


/* ==========================================
   BOTÃO DE BACKUP
========================================== */

.botao-backup {
    margin-left: 18px;

    padding: 9px 14px;

    background:
        rgba(212, 175, 55, 0.12);

    border:
        1px solid rgba(212, 175, 55, 0.45);

    border-radius: 8px;

    color: #d4af37;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.botao-backup:hover {
    background:
        rgba(212, 175, 55, 0.22);

    border-color: #d4af37;

    transform: translateY(-1px);
}

.botao-backup:active {
    transform: translateY(0);
}


/* ==========================================
   RESPONSIVO DO LAYOUT
========================================== */

@media (max-width: 700px) {

    .header {
        min-height: 150px;
    }

    .header-overlay {
        min-height: 150px;
    }

    .header-container {
        width: calc(100% - 30px);

        min-height: 150px;

        gap: 15px;
    }

    .logo img {
        width: 115px;
    }

    .titulo-header {
        padding: 8px 10px;
    }

    .titulo-header span {
        font-size: 11px;
    }

    .container {
        width: calc(100% - 30px);

        padding: 30px 0 45px;
    }

    .pagina-titulo {
        margin-bottom: 25px;
    }

    .pagina-titulo h1 {
        font-size: 25px;
    }

    .pagina-titulo p {
        font-size: 13px;
    }

    .botao-backup {
        margin-left: 0;
    }

}