/*!
 * Theme Name: Default
 * Package : DashLite
 * Author: Softnio
 * Author URI: http://themeforest.net/user/softnio
 * Version	 :	1.0.0
 * Updated	 :	07.23.2020
**/

/* Variáveis unificadas - evita duplicação em SmartCharges e demais módulos */
:root {
    --sc-border: #e5e9f2;
    --sc-text-base: #364a63;
    --sc-text-muted: #8094ae;
    --sc-text-secondary: #526484;
    --sc-bg-light: #f8f9fb;
    --sc-bg-card: #f5f6fa;
    --sc-bg-divider: #f0f2f5;
    --sc-dark-bg: #2b3748;
    --sc-dark-border: #2b3748;
}

.logo-img.logo-mh-36{
    min-height: 36px;
}

.form-control-compact {
    font-size: 13px;
    max-height: 44px;
    padding: 12 0 !important;
    line-height: 1.25;
}

.placeholder{
    border-radius: 3px;
}

.nk-sidebar-element {
    overflow-x: hidden;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.nk-menu-icon .fas {
    font-size: 24px;
    letter-spacing: normal;
    vertical-align: middle;
    color: currentColor;
    transition: color 0.4s, background-color 0.4s;
    text-align: center;
    width: 24px !important;
    overflow: hidden;
}

.fa-address-card.fas::before{
    font-size: 21px;
    line-height: 24px;
}

.fa-briefcase.fas::before{
    font-size: 21px;
    line-height: 24px;
}
.fa-screen-users.fas::before{
    font-size: 18px;
    line-height: 24px;
}

.fa-scanner-keyboard.fas::before{
    font-size: 21px;
    line-height: 24px;
}

.password-input {
    text-security: disc;
    -webkit-text-security: disc;
    -mox-text-security: disc;
}

.password-input:focus {
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.password-input.border-danger:focus {
    border-color: #e85347;
    box-shadow: none;
}

.password-input:not(:focus):not(.border-danger) {
    border-color: var(--sc-border);
}

/* Shimmer overlay - sobrepõe o conteúdo durante carregamento (campos e textos) */
.shimmer-overlay {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: #fff;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
}
.dark-mode .shimmer-overlay {
    background: #141c26;
}
.shimmer-overlay .placeholder {
    background-color: var(--sc-border);
    border-radius: 4px;
    animation: shimmer-pulse 2s ease-in-out infinite;
}
.dark-mode .shimmer-overlay .placeholder {
    background-color: #2b3748;
}
@keyframes shimmer-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Shimmer da sidebar do wizard - círculo, título e descrição */
.stepper-nav-shimmer {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: #fff;
    pointer-events: none;
    padding: 0.5rem;
}
.dark-mode .stepper-nav-shimmer {
    background: #141c26;
}
.stepper-nav-shimmer .placeholder {
    background-color: var(--sc-border);
    border-radius: 4px;
    animation: shimmer-pulse 2s ease-in-out infinite;
}
.dark-mode .stepper-nav-shimmer .placeholder {
    background-color: var(--sc-dark-bg);
}

.stepper-nav-shimmer .step-item {
    padding: 0.25rem 0;
}

/* link-list-opt - usado em dropdowns (ex: charges/index) */
.link-list-opt a,
.link-list-opt button {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.125rem;
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    transition: all 0.4s;
    line-height: 1.3rem;
    position: relative;
    background: none;
    border: none;
    outline: none;
    text-align: start;
}
.link-list-opt a .icon,
.link-list-opt button .icon {
    font-size: 1.125rem;
    width: 1.75rem;
    opacity: 0.8;
}
.badge.badge-dim {
    white-space: normal;
    word-break: break-all;
    margin: 1px 0;
}

/* Linha vertical do stepper: única linha no ul, atrás do conteúdo, sem passar do último item */
.nk-stepper-nav.nk-stepper-nav-s1.stepper-nav.is-vr {
    position: relative;
    align-self: flex-start;
}
.nk-stepper-nav.nk-stepper-nav-s1.stepper-nav.is-vr::before {
    content: '';
    position: absolute;
    left: calc(0.5rem + 15px);
    top: calc(0.5rem + 32px);
    bottom: calc(0.5rem + 32px);
    width: 2px;
    background: var(--sc-border);
    z-index: 0;
}
.nk-stepper-nav.nk-stepper-nav-s1.stepper-nav.is-vr > * {
    position: relative;
    z-index: 1;
}
.dark-mode .nk-stepper-nav.nk-stepper-nav-s1.stepper-nav.is-vr::before {
    background: rgba(136, 136, 136, 0.4);
}
.stepper-nav-shimmer .nk-stepper-nav::before {
    display: none;
}

