* {
    box-sizing: border-box;
}

body {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    color: #172b3a;

    background: #f5f7fa;
}


/* =========================
   BARRA SUPERIOR
========================= */

.topbar {
    height: 72px;

    background: #fff;

    display: flex;
    align-items: center;

    padding: 0 27px;

    border-bottom: 1px solid #ddd;
}

.title {
    font-size: 21px;

    font-weight: 600;

    margin-right: 16px;

    white-space: nowrap;
}


/* Separador vertical */

.top-divider {
    width: 1px;

    height: 32px;

    background: #d9d9d9;

    margin-right: 16px;
}


/* =========================
   NEGOCIO SUPERIOR
========================= */

.business {
    display: flex;

    align-items: center;

    gap: 9px;
}

.logo {
    width: 38px;
    height: 38px;

    object-fit: cover;

    border-radius: 2px;
}

.business strong,
.business span {
    display: block;
}

.business strong {
    font-size: 15px;
}

.business span {
    margin-top: 3px;
}


/* =========================
   USUARIO
========================= */

.profile {
    margin-left: auto;

    display: flex;

    align-items: center;
}

.profile img {
    width: 36px;
    height: 36px;

    object-fit: cover;

    border-radius: 50%;
}


/* =========================
   ESTRUCTURA
========================= */

.layout {
    display: flex;

    min-height: calc(100vh - 72px);
}

.sidebar {
    width: 275px;

    background: linear-gradient(
        #fff8fa,
        #e6f3ff
    );

    padding: 8px 12px;
}

.menu {
    width: 100%;

    min-height: 56px;

    border: 0;

    background: transparent;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 0 14px;

    margin-bottom: 4px;

    border-radius: 5px;

    font-size: 16px;

    font-weight: 600;

    color: #263744;

    text-align: left;
}

.menu span {
    flex: 1;
}

.menu b {
    font-size: 20px;
}

.menu.active {
    background: #263944;

    color: white;
}

.menu:not(button) {
    cursor: default;
}


/* =========================
   CONTENIDO
========================= */

.content {
    flex: 1;

    background: white;

    margin: 0;

    max-width: 1000px;

    min-height: calc(100vh - 72px);
}


/* =========================
   SECCIONES
========================= */

.section {
    display: none;
}

.active-section {
    display: block;
}


/* =========================
   CABECERA
========================= */

.section-header {
    height: 69px;

    border-bottom: 1px solid #ddd;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 16px;
}

.section-header h2 {
    font-size: 19px;

    margin: 0;
}

button {
    font-family: inherit;
}

.section-header button,
.brand-row button,
.info-header button {
    background: white;

    border: 1px solid #9db0c2;

    border-radius: 4px;

    padding: 9px 14px;

    font-size: 14px;

    color: #173047;
}


/* =========================
   INFORMACIÓN NEGOCIO
========================= */

.business-info {
    padding: 24px 16px;
}

.brand-row {
    display: flex;

    align-items: center;

    gap: 10px;
}

.big-logo {
    width: 64px;
    height: 64px;

    object-fit: cover;

    border-radius: 3px;

    flex-shrink: 0;
}

.brand-row > button {
    margin-left: auto;
}

.brand-row h2 {
    margin: 0 0 4px;

    font-size: 19px;
}

.brand-row p {
    margin: 4px 0;
}

hr {
    border: 0;

    border-top: 1px solid #ddd;

    margin: 25px -16px;
}


/* =========================
   INFORMACIÓN
========================= */

.info-header {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.info-header h3 {
    font-size: 17px;
}

h4 {
    margin: 18px 0 5px;

    font-size: 16px;
}

p {
    margin: 0;

    line-height: 1.45;
}

a {
    color: #0879d1;

    text-decoration: none;
}


/* =========================
   OTRAS SECCIONES
========================= */

.section:not(#business) {
    padding: 30px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .sidebar {
        width: 220px;
    }

    .title {
        font-size: 19px;
    }

}


@media (max-width: 600px) {

    .sidebar {
        width: 70px;

        padding-left: 8px;
        padding-right: 8px;
    }

    .menu {
        justify-content: center;

        padding: 0;
    }

    .menu span,
    .menu b {
        display: none;
    }

    .business span {
        display: none;
    }

    .top-divider {
        margin-right: 10px;
    }

}