html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.layout,
.content,
main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.content {
    box-sizing: border-box;
}

.logo-topo {
    max-width: 145px;
    height: auto;
}

.bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 72px;
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    gap: 0 !important;
    background: #ffffff;
    border-top: 1px solid #dbe7f5;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    box-sizing: border-box;
}

.bottom-nav a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 58px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 2px;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
}

.bottom-nav a svg {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    min-width: 23px;
    min-height: 23px;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.bottom-nav a span {
    display: block !important;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
}

.table-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-card table {
    width: 100%;
    min-width: 600px;
}

.form-card,
.card,
.config-list,
.config-session,
.empresa-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

input,
select,
textarea,
button {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 700px) {

    body {
        overflow-x: hidden;
    }

    .content {
        width: 100%;
        max-width: 100%;
        padding: 20px 14px 90px 14px !important;
        box-sizing: border-box;
    }

    .logo-topo {
        width: 100px !important;
        max-width: 100px;
        margin-bottom: 16px !important;
    }

    .bottom-nav {
        height: 68px !important;
        padding: 2px 2px;
    }

    .bottom-nav a {
        flex: 1 1 0 !important;
        width: 20% !important;
        height: 62px !important;
        padding: 2px 1px;
        gap: 3px;
    }

    .bottom-nav a svg {
        width: 21px !important;
        height: 21px !important;
        min-width: 21px;
        min-height: 21px;
    }

    .bottom-nav a span {
        display: block !important;
        font-size: 9px !important;
        line-height: 1;
        white-space: nowrap;
    }

    .bottom-nav a:first-child span {
        display: block !important;
    }

    .table-card {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .table-card table {
        min-width: 600px;
    }

    .form-card,
    .card,
    .config-list,
    .config-session {
        width: 100%;
        max-width: 100%;
    }

    .page-header h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .page-header p {
        font-size: 15px;
        line-height: 1.4;
    }
}