.text-primary-color {
    color: #66b3f5;
}

.notification-container {
    text-align: center;
}

.bill-due-notification {
    color: #ffffff;
    font-weight: 100;
    /* background: #57a1e0; */
    padding: 10px 20px;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px 10px 10px 10px;
    text-decoration: none;
}

.bill-due-notification-space {
    height: 60px;
}

.bill-due-notification:hover {
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
}

.gradient-bottom-background {
    /* background: linear-gradient(to bottom, #5FA8ED 100%, transparent 30%); */
    text-align: center;
    padding: 40px 20px;
    border-bottom-left-radius: 20% 70%;
    border-bottom-right-radius: 20% 70%;
    height: 300px;
}

.text-default-font {
    font-family: "Ubuntu";
    font-weight: 100;
    color: #2a2948;
}

.text-header {
    font-size: 1.2rem;
    padding-bottom: 12px;
}

.text-header-mini {
    font-size: 1rem;
    padding-bottom: 12px;
}

.font-small-size {
    font-size: 10px;
    font-weight: 500;
}

.card-rounded-box {
    background-color: white;
    width: 13vw;
    height: 13vw;
    min-width: 150px;
    min-height: 150px;
    border-radius: 1vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.horizontal-padding-medium {
    padding-left: 60px;
    padding-right: 60px;
}

.horizontal-padding-large {
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 1000px) {
    .horizontal-padding-medium {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.rounded-box-small {
    border-radius: 0.5vw;
    height: 35px;
    width: 10vw;
    height: 1.6vw;
    min-width: 100px;
    min-height: 20px;
}

.bg-gray-light {
    background: #f2f2f2;
}

.bg-green-light {
    background: #b2f6da;
}

.bg-yellow-light {
    background: #f4da8e;
}

.large-text-muted {
    font-size: 3vw;
    color: #636979;
}

@media (max-width: 1000px) {
    .large-text-muted {
        font-size: 40px;
    }
}

.medium-text-muted {
    font-size: 1.5vw;
    color: #636979;
}

@media (max-width: 1000px) {
    .medium-text-muted {
        font-size: 18px;
    }
}

.floating-text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #636979;
    font-size: 1.2vw;
    position: absolute;
    top: 10px;
    right: 10px;
}

@media (max-width: 1000px) {
    .floating-text-center {
        font-size: 15px;
    }
}

.card-font-bottom {
    font-size: 1vw;
}

@media (max-width: 1000px) {
    .card-font-bottom {
        font-size: 15px;
    }
}

.floating-text-center:hover {
    color: #080808;
}

.custom-hr-large {
    width: 94.5%;
    height: 2px;
    margin: auto;
    background-color: #cccccc;
    border: none;
}

.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-radius: 8px;
    font-weight: bold;
}

.title {
    background: #6c757d;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.view-all {
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

#tablePowerCut {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: none;
}

#tablePowerCut tbody tr {
    background: #f8f8f8;
    padding-left: 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

#tablePowerCut td i {
    color: #666;
    font-size: 18px;
}

.square {
    position: relative;
    width: 50%;
}

.square:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.content {
    position: absolute;
    width: 100%;
    height: 100%;
}

.status-card {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.percentage {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.green {
    background-color: #77cf9c;
}

.orange1 {
    background-color: #f3b171;
}

.orange2 {
    background-color: #ee8156;
}

.orange3 {
    background-color: #f26e52;
}

.red {
    background-color: #e04c52;
}

.status-card-text {
    font-size: 16px;
}

.status-card-number {
    font-size: 30px;
    color: #565b6d;
}

/* @media (min-width: 600px) {
    .status-card-text {
        font-size: 18px;
    }

    .status-card-number {
        font-size: 16px;
    }
} */

@media (max-width: 1441px) {
    .status-card-text {
        font-size: 12px;
    }

    .status-card-number {
        font-size: 20px;
    }
}

.breadcrumb-mapper {
    font-size: 30px;
    color: #6c757d;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px 0;
}

.breadcrumb-mapper a {
    text-decoration: none;
    color: #6c757d;
}

.breadcrumb-mapper a:hover {
    text-decoration: underline;
}

.breadcrumb-mapper span {
    font-weight: bold;
    color: #212529;
}

.show-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 30px;
    height: 30px;
    width: 30px;
    font-size: 15px;
    background-color: white;
    color: #080808;
    border-radius: 50%;
    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 4px 8px 0 rgba(0, 0, 0, 0.19);
    position: fixed;
    z-index: 999;
    cursor: pointer;
}

.sidebar {
    z-index: 1000;
}

#backBtn {
    position: fixed; top: 32px; right: 32px; z-index: 99;
    background: #111; color: #fff; border: 0;
    height: 48px; padding: 0 16px; border-radius: 24px;
    display: flex; align-items: center; cursor: pointer;
    overflow: hidden; transition: background 0.3s;
  }
  #backBtn:hover { background: #000; }
  #backBtn span {
    max-width: 0; opacity: 0; white-space: nowrap;
    transition: all 0.5s ease; font-size: 14px; font-weight: 600;
  }
  #backBtn.show span, #backBtn:hover span {
    max-width: 80px; opacity: 1; margin-left: 8px;
  }

.show-menu:hover {
    color: #4e4e4e;
}

.back-button {
    background: none;
    border: none;
    padding: 0;
    color: #2a2948;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.back-button i {
    color: #2a2948;
}

.back-button:focus {
    outline: none;
}

.logout-magin-bottom {
    margin-bottom: 1.5rem !important;
}

@media (max-width: 1000px) {
    .logout-magin-bottom {
        margin-bottom: 3rem !important;
    }
}

.menu-preference {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    width: 320px;
    margin: auto;
}

.menu-preference-text {
    flex-grow: 1;
    text-align: left;
    color: #777777;
    font-size: 14px;
    font-family: "Ubuntu";
}

.menu-toggle {
    position: relative;
    width: 40px;
    height: 20px;
}

.menu-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.menu-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.menu-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .menu-slider {
    background-color: #5a6d8a;
}

input:checked + .menu-slider:before {
    transform: translateX(20px);
}

.shadow-solid {
    border: 1px solid;
    border-color: #e1e2e2;
    padding: 10px;
    box-shadow: 0px 2px #aeaeb1;
}

.text-align-cards {
    text-align: left !important;
}

@media (max-width: 1200px) {
    .text-align-cards {
        text-align: center !important;
    }
}

.redirectMap {
    padding-right: 10px;
    padding-bottom: 10px;
}

body.layout-fixed.sidebar-mini:not(.sidebar-collapse) .show-menu {
    left: 270px;
    transition: left 0.3s ease-in-out;
}

body.layout-fixed.sidebar-mini.sidebar-collapse .show-menu {
    left: 80px;
    transition: left 0.3s ease-in-out;
}

@media (max-width: 991px) {
    body.layout-fixed.sidebar-mini.sidebar-collapse .show-menu {
        left: 20px;
        transition: left 0.3s ease-in-out;
    }
}

/* @media (min-height: 851px) and (min-width:992px) {
    .sidebar nav:last-child {
        position: absolute;
        width: 50%;
        bottom: 50px;
    }
}

@media (max-height: 850px) {
    .logout-nav {
        margin-bottom: 3rem !important;
    }
} */

.overlay-search-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(50, 52, 58, 0.7);
    z-index: 1000;
    display: none;
}

#show-menu-floating {
    display: none;
}

#minibox-menu {
    display: none;
}

@media (max-width: 991.98px) {
    #show-menu-floating {
        display: flex;
    }

    #minibox-menu {
        display: flex;
    }

    #pushmenusidebar {
        display: none;
    }
}

@media (max-width: 991.98px) {
    [class*="sidebar-light-"] .nav-sidebar > .nav-item.menu-open > .nav-link,
    [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
        background-color: rgba(0, 0, 0, 0.1);
        color: #212529;
    }
}

@media (min-width: 991px) {
    /* Adiciona posição relativa ao item */
    [class*="sidebar-light-"] .nav-sidebar > .nav-item {
        position: relative;
    }

    /* Estilo do nav-link no hover */
    [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
        background-color: rgb(229, 229, 229);
        color: #212529;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
        border-left: none !important;
    }

    /* Esconde o texto do link no hover */
    [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link p {
        opacity: 0;
    }

    /* Cria a label flutuante com ::after */
    [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover::after {
        content: attr(data-label);
        position: fixed;
        left: 250px;
        background-color: rgb(229, 229, 229);
        color: #8a8a8a !important;
        width: 200px;
        padding: 10px 8px;
        font-family: "Ubuntu", sans-serif;
        font-size: 18px;
        white-space: nowrap;
        z-index: 9999;
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
        display: flex;
        align-items: center;
        height: 57.2px;
        top: -1px;
        transform: translateY(var(--item-offset, 0));
    }

    .nav-pills {
        width: 250px;
    }

    /* Ajuste para sidebar colapsada */
    body.sidebar-collapse
        [class*="sidebar-light-"]
        .nav-sidebar
        > .nav-item:hover::after {
        left: 58px;
    }
}

@media (max-width: 991.98px) {
    [class*="sidebar-light-"] .nav-sidebar > .nav-item.menu-open > .nav-link,
    [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
        background-color: rgba(0, 0, 0, 0.1);
        color: #8a8a8a;
    }
}
