/* ============================================
   NOVA SIDEBAR 2026 - VOXTER
   ============================================ */
:root {
    --item-base-height: clamp(34px, 5.2vh, 44px);
    --item-hover-height: clamp(70px, 9vh, 80px);
    --icon-size: clamp(17px, 2.4vh, 22px);
    --logo-margin: clamp(1.2rem, 3vh, 2rem);
    --logo-display-size: clamp(24px, 3.2vh, 28px);
    --sidebar-width: 3.75rem;
    --voxter-red: #dd6a6a;
    --voxter-blue: #09193d;
    --academy-color: #09193d;
}

/* --- SIDEBAR DESKTOP --- */
#sidebar-2026 {
    width: var(--sidebar-width);
    background-color: white;
    border-right: 1px solid #f3f4f6;
    display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    flex-shrink: 0;
    overflow: visible !important;
}

@media (min-width: 768px) {
    #sidebar-2026 {
        display: flex;
    }
}

#sidebar-2026 nav {
    width: 100%;
    overflow: visible !important;
    flex-shrink: 0;
}

/* Itens de Menu Base */
#sidebar-2026 .menu-item-2026 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--item-base-height);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    z-index: 50;
    cursor: pointer;
}

/* Expansão no Desktop */
#sidebar-2026 .menu-item-2026:hover {
    height: var(--item-hover-height);
}

/* Item Ativo */
#sidebar-2026 .menu-item-2026.active .icon-wrapper-2026 {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: clamp(32px, 4.5vh, 38px);
    height: clamp(32px, 4.5vh, 38px);
    color: #000000;
}

/* Painel de Expansão Desktop */
#sidebar-2026 .info-panel-2026 {
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 38px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding-left: 65px;
    padding-top: 14px;
    padding-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 15px 15px 40px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    z-index: 2000;
    pointer-events: none;
}

#sidebar-2026 .menu-item-2026:hover .info-panel-2026 {
    width: clamp(230px, 35vw, 280px);
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Wrappers e Ícones */
#sidebar-2026 .icon-wrapper-2026 {
    position: relative;
    z-index: 2100;
    color: #9ca3af;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#sidebar-2026 .icon-wrapper-2026 svg {
    width: var(--icon-size);
    height: var(--icon-size);
    fill: currentColor;
}

#sidebar-2026 .exit-icon-adj svg {
    width: calc(var(--icon-size) * 0.85) !important;
    height: calc(var(--icon-size) * 0.85) !important;
}

#sidebar-2026 .menu-item-2026:not(.active):hover .icon-wrapper-2026 {
    color: #000000;
}

/* Labels VoxterOnly */
.voxter-only-badge-2026 {
    background-color: rgba(209, 77, 82, 0.08);
    border: 1px solid rgba(209, 77, 82, 0.2);
    color: #d14d52;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    line-height: 1;
}
.voxter-only-badge-2026 b {
    font-weight: 700;
}
.voxter-only-badge-2026 span {
    font-weight: 300;
}

.voxter-only-marker-2026 {
    position: absolute;
    top: -4px;
    right: -4px;
    width: clamp(10px, 1.3vh, 12px);
    height: clamp(10px, 1.3vh, 12px);
    z-index: 2200;
}
.voxter-only-marker-2026 svg {
    width: 100% !important;
    height: 100% !important;
    fill: #d14d52 !important;
}

.has-update-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background-color: rgba(221, 106, 106, 0.15);
    border: 1px solid rgba(221, 106, 106, 0.4);
    border-radius: 12px;
    z-index: 0;
    animation: icon-ring-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes icon-ring-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.has-update-icon svg, .has-update-icon i {
    position: relative;
    z-index: 1;
    animation: update-wiggle 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes update-wiggle {
    0%, 85%, 100% { transform: rotate(0deg) scale(1); }
    88% { transform: rotate(-10deg) scale(1.35); }
    91% { transform: rotate(10deg) scale(1.35); }
    94% { transform: rotate(-10deg) scale(1.35); }
    97% { transform: rotate(5deg) scale(1.35); }
}

.auto-tooltip {
    position: absolute;
    left: 55px;
    background-color: #dd6a6a;
    color: white;
    font-weight: 700;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2000;
    opacity: 0;
    transform: translateX(-15px) scale(0.9);
    animation: auto-slide-tooltip 4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 3s;
    box-shadow: 0 4px 10px rgba(221, 106, 106, 0.3);
}

.menu-item-2026[data-has-update="true"]:hover .auto-tooltip {
    display: none;
}

.auto-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border-width: 5px 6px 5px 0;
    border-style: solid;
    border-color: transparent #dd6a6a transparent transparent;
}

@keyframes auto-slide-tooltip {
    0% { opacity: 0; transform: translateX(-15px) scale(0.9); }
    10% { opacity: 1; transform: translateX(0) scale(1); }
    90% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0; transform: translateX(-15px) scale(0.9); }
}

.unread-blog-badge-2026 {
    background-color: #dd6a6a;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}



#sidebar-2026 .nav-spacer-2026 {
    flex: 1;
    width: 100%;
    min-height: 20px;
}

/* Logo area */
#sidebar-2026 .logo-area-2026 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* --- VOXTER ACADEMY com sufixo correto -2026 --- */
.academy-highlight .icon-wrapper-2026 {
    background-color: #f1f5f9;
    border-radius: 10px;
    width: clamp(32px, 4.5vh, 38px);
    height: clamp(32px, 4.5vh, 38px);
    position: relative;
    overflow: hidden;
    z-index: 2100;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--academy-color) !important;
}

.academy-highlight.active {
    --academy-color: #ffffff;
}

.academy-highlight .icon-wrapper-2026::before {
    content: "";
    position: absolute;
    z-index: -2;
}

.academy-highlight .icon-wrapper-2026::after {
    content: "";
    position: absolute;
    inset: 1.8px;
    background: #f1f5f9;
    border-radius: 9px;
    z-index: -1;
    transition: background-color 0.2s ease;
}

.academy-highlight:not(.active) .icon-wrapper-2026::before {
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        transparent,
        var(--voxter-red),
        var(--voxter-blue),
        var(--voxter-red),
        transparent
    );
    animation: rotate-border 4s linear infinite;
}

.academy-highlight:not(.active):hover .icon-wrapper-2026::after {
    background-color: #e5e7eb;
}

.academy-highlight.active .icon-wrapper-2026::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--voxter-red), var(--voxter-blue));
    background-size: 200% 200%;
    animation: pulse-linear 4s ease-in-out infinite;
    transform: none !important;
}

.academy-highlight.active .icon-wrapper-2026::after {
    opacity: 0;
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-linear {
    0%,
    100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

/* Ajuste do conteúdo principal para não ficar atrás da sidebar */
@media (min-width: 768px) {
    .content-wrapper-2026 {
        margin-left: var(--sidebar-width) !important;
    }
}

/* --- MOBILE HEADER --- */
#mobile-header-2026 {
    display: flex;
    width: 100%;
    height: 60px;
    background-color: white;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: 1100;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

@media (min-width: 768px) {
    #mobile-header-2026 {
        display: none !important;
    }
}

/* --- MOBILE DRAWER --- */
#mobile-drawer-2026 {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: white;
    z-index: 3000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    font-family: "Ubuntu", sans-serif;
}
#mobile-drawer-2026.open {
    left: 0;
}

#mobile-overlay-2026 {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2900;
    display: none;
}

.mobile-nav-item-2026 {
    justify-content: flex-start !important;
    height: auto !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f9fafb;
    gap: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}
.mobile-nav-item-2026 .icon-wrapper-2026 {
    width: 44px !important;
    height: 44px !important;
}
.mobile-nav-item-2026 .label-group-2026 {
    display: flex;
    flex-direction: column;
}
.mobile-nav-item-2026 .title-2026 {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    display: flex;
    align-items: center;
}
.mobile-nav-item-2026 .desc-2026 {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
    white-space: normal;
}

.flip-left-2026 {
    transform: scaleX(-1);
}

/* ============================================
   FIM NOVA SIDEBAR 2026
   ============================================ */

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

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

.bill-due-notification {
    color: #ffffff;
    font-weight: 100;
    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 {
    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;
}

#backBtn {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 99;
    background: #555e7a;
    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: #555e7aed;
}
#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;
}

@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 (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-back-btn {
    display: inline-flex;
    font-family: "Ubuntu";
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 30px;
    right: 20px;
    height: auto;
    gap: 8px;
    padding: 7px 16px;
    font-size: 15px;
    background-color: white;
    color: #080808;
    border: 2px solid #212529;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9999;
    transition:
        background-color 0.3s,
        transform 0.2s;
}

.show-back-btn .btn-icon {
    height: 16px;
    width: 16px;
    object-fit: contain;
    filter: invert(15%);
}

.show-back-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

.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;
}

.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;
}
