@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --font-family-base: 'Roboto', sans-serif;
    --fw-thin: 100;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;
    --fw-black: 900;
    --primary-blue: #284296;
}

* {
    box-sizing: border-box;
}

html, body, input, textarea, select, button, h1, h2, h3, h4, h5, h6, span, div, p, table, td, th {
    font-family: var(--font-family-base) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

button .material-symbols-outlined,
.btn .material-symbols-outlined,
.action-btn .material-symbols-outlined {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-top: -2px;
}

body {
    background-color: #f4f6f9;
    margin: 0;
    padding-bottom: 50px;
    padding-top: 80px;
}

@keyframes dashboardFadeIn {
    0% { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.entrada-triunfal {
    animation: dashboardFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #284296;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    height: 60px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.nav-icon {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-icon:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
    background: transparent;
    box-shadow: none;
}

.nav-right .nav-icon:nth-child(1):hover {
    background: rgba(40, 66, 150, 0.4);
    box-shadow: 0 0 20px #ffffff47;
    border-color: #ffffff;
    color: white;
}

.nav-right .nav-icon:nth-child(2):hover {
    background: rgba(0, 155, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    border-color: #00e5ff;
    color: white;
}

.nav-right .nav-icon:nth-child(3):hover {
    background: rgba(0, 155, 58, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.5);
    border-color: #00ff6a;
    color: white;
}

.nav-right .nav-icon:nth-child(4):hover {
    background: #8300fe47;
    box-shadow: 0 0 20px #8300feb0;
    border-color: #8300fe;
    color: white;
}

.nav-right .nav-icon:nth-child(5):hover {
    background: #ff88004e;
    box-shadow: 0 0 20px #ff880079;
    border-color: #ff8800;
    color: white;
}

#nav-usuarios:hover {
    background: rgba(142, 68, 173, 0.3) !important;
    box-shadow: 0 0 20px rgba(180, 100, 255, 0.6) !important;
    border-color: #d2aaff !important;
    color: white !important;
    transform: translateY(-3px) scale(1.1) !important;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    transform: translateX(3px);
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
}

.btn-logout-desktop {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    display: flex !important;
}

.btn-logout-desktop:hover {
    background-color: rgba(255, 50, 50, 0.15) !important;
    color: #ff4d4d !important;
    border-color: #ff4d4d;
    box-shadow: 0 0 10px #ff4d4d, 0 0 20px rgba(255, 77, 77, 0.4), inset 0 0 5px rgba(255, 0, 0, 0.2) !important;
    text-shadow: 0 0 5px #ff4d4d;
    transform: scale(1.15);
}

.btn-logout-mobile {
    display: none !important;
}

.btn-hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.header h1 {
    color: #284296;
    margin: 0;
    font-weight: var(--fw-bold);
}

.header p {
    color: #64748b;
    margin: 5px 0 0 0;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.kpi-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0) scale(1);
    will-change: transform, box-shadow;
    z-index: 1;
}

.kpi-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 25px -5px rgba(40, 66, 150, 0.15), 0 8px 10px -6px rgba(40, 66, 150, 0.1);
    border-color: rgba(40, 66, 150, 0.4);
    z-index: 2;
}

.kpi-card h3, .kpi-card p {
    transition: color 0.3s ease;
}

.kpi-card:hover h3 {
    color: var(--primary-blue);
}

.kpi-card h3 {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-card p {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

.kpi-money p { color: #009b3a; }
.kpi-alert p { color: #c0392b; }

.kpi-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.kpi-card:hover::after {
    left: 150%;
    transition: left 1.2s ease;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    perspective: 1000px;
}

.card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transform: rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
    transition: transform 0.1s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: surgimentoSuave 0.5s ease forwards;
}

.card:nth-child(1) { --card-color: #0046de; --card-glow: #003dc147; animation-delay: 0.1s; }
.card:nth-child(2) { --card-color: #00e5ff; --card-glow: rgba(0, 229, 255, 0.4); animation-delay: 0.2s; }
.card:nth-child(3) { --card-color: #00ff6a; --card-glow: rgba(0, 255, 100, 0.5);animation-delay: 0.3s; }
.card:nth-child(4) { --card-color: #8e44ad; --card-glow: rgba(142, 68, 173, 0.4); animation-delay: 0.4s; }
.card:nth-child(5) { --card-color: #8300fe; --card-glow: #8300fe5d; animation-delay: 0.5s; }
.card:nth-child(6) { --card-color: #ff8800; --card-glow: rgba(255, 136, 0, 0.4); animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.6), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

.card h3, .card p, .card .material-symbols-outlined {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.card h3 { color: #284296; margin: 15px 0 5px 0; font-size: 1.1rem; }
.card p { color: #888; font-size: 0.9rem; margin: 0; }
.card .material-symbols-outlined { font-size: 40px; color: #ccc; }

.card:hover {
    border-color: var(--card-color);
    box-shadow: 0 0 20px var(--card-glow);
}

.card:hover::before { opacity: 1; }

.card:hover .material-symbols-outlined {
    transform: scale(1.1) translateZ(20px);
    color: var(--card-color);
}

.card-bloqueado {
    position: relative;
    background-color: #e9ecef !important;
    color: #999 !important;
    cursor: not-allowed !important;
    overflow: hidden;
    border: 1px solid #ddd;
    transform: none !important;
    box-shadow: none !important;
}

.card-bloqueado span, .card-bloqueado h3, .card-bloqueado p { opacity: 0.5; }

.card-bloqueado::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.237), rgba(0, 0, 0, 0.21) 10px, rgba(255, 193, 7, 0.313) 10px, rgba(255, 193, 7, 0.313) 20px);
    z-index: 1;
}

.card-bloqueado::after {
    content: "🚧 EM BREVE";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background-color: #000;
    color: #ffc107;
    border: 2px solid #ffc107;
    padding: 5px 20px;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.charts-section-wrapper {
    background-color: transparent;
    padding-bottom: 20px;
    margin-top: 40px;
}

.charts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.charts-header h2 { font-size: 1.5rem; color: #333; margin-bottom: 5px; }
.charts-header p { color: #64748b; font-size: 0.9rem; }

.filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.filter-wrapper select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;
    cursor: pointer;
}

.filter-wrapper .material-symbols-outlined { color: #666; font-size: 20px; }

.charts-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}

.chart-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.chart-card.full-width { grid-column: 1 / -1; }

.chart-title {
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
}

.chart-title h4 { color: #2c3e50; font-size: 1.1rem; margin-bottom: 2px; }
.chart-title small { color: #95a5a6; font-size: 0.8rem; }

.canvas-container-lg { position: relative; height: 300px; width: 100%; }
.canvas-container-sm { position: relative; height: 250px; width: 100%; display: flex; justify-content: center; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes surgimentoSuave {
    from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.input-premium {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    transition: all 0.2s !important;
    background: #f8fafc !important;
    padding-left: 45px !important;
}

.input-premium:focus {
    background: white !important;
    border-color: #1e3276 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px #0c38caa0 !important;
}

.modal-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: white;
    border-radius: 16px 16px 0 0; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
    z-index: 10;
}

.header-blue {
    background: var(--primary-blue);
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
}

.modal-title .material-symbols-outlined {
    font-size: 26px;
}

.typewriter-msg {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-left: 20px;
    white-space: nowrap;
    border-right: 3px solid #ffffff;
    padding-right: 5px;
    position: relative;
    z-index: 9999;
    min-height: 20px;
}

.typewriter-msg.piscando {
    animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
    from, to { border-color: transparent }
    50% { border-color: #ffffff; }
}

.tw-ola {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    color: #e0e0e0;
}

.tw-nome {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff;
    text-transform: capitalize;
}

button, .btn-sync, .btn-salvar, .btn-cancel, .btn-novo, .btn-excel, .btn-del, .btn-edit, .btn-pill, .btn-lock {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-lock {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.1s ease-in-out; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    margin-left: 10px;
    padding: 0;
}

.btn-lock:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
}

.btn-lock:active {
    transform: scale(0.90) !important;
    background-color: #f1f5f9;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.btn-lock.locked {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #0284c7;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.btn-lock.locked:hover {
    background: #bae6fd;
    transform: translateY(-1px);
}

.btn-lock.locked:active {
    transform: scale(0.90) !important;
    background: #7dd3fc;
}

.btn-lock .material-symbols-outlined {
    font-size: 22px;
    font-weight: 500;
}

div.swal2-container.swal2-top-end,
div.swal2-container.swal2-top-right {
    top: 90px !important;
    right: 20px !important;
}

div.swal2-popup.swal2-toast {
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 15px !important;
    display: flex !important;
    align-items: center !important;
}

div.swal2-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin: 0 10px !important;
}

.btn-sync {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #188038;      border: 1px solid #e0e0e0;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

 .btn-sync:hover {
    background-color: #f3fcf6;      border-color: #188038;
    transform: translateY(-2px);      box-shadow: 0 4px 12px rgba(24, 128, 56, 0.15);
}

 .btn-sync:hover .material-symbols-outlined {
    animation: spin 1s linear infinite;
}

.btn-novo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #d63031;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(214, 48, 49, 0.2);
    height: 42px;
}

.btn-excel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    gap: 8px;
    background-color: #009b3a;
    color: #ffffff;
    border: 1px solid #009b3a;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(29, 111, 66, 0.2);
    transition: all 0.2s ease;
}

.btn-excel:hover {
    background-color: #06712d;
    border-color: #06712d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(29, 111, 66, 0.35);
}

.btn-excel .material-symbols-outlined {
    font-size: 1.25rem;
}

.btn-del, .btn-edit {
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-del { background: #fee2e2; color: #c0392b; }
.btn-del:hover { background: #c0392b; color: white; transform: scale(1.1); }

.btn-edit { background: #e0f2fe; color: #0284c7; }
.btn-edit:hover { background: #0284c7; color: white; transform: scale(1.1); }

.btn-salvar {
    background: linear-gradient(135deg, #188038 0%, #1a9c45 100%);
    box-shadow: 0 2px 10px rgba(24, 128, 56, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

#modalDetalhesGrafico.modal-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(5px);
    z-index: 99999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px;
    box-sizing: border-box;
}

#modalDetalhesGrafico.modal-overlay[style*="display: flex"] { display: flex !important; }

#modalDetalhesGrafico .modal-modern {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 450px !important;
    max-height: 85vh !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    position: relative !important;
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

#modalDetalhesGrafico .modal-header-modern {
    background: #284296 !important;
    padding: 16px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: white !important;
    flex-shrink: 0 !important;
}

#modalDetalhesGrafico .modal-header-modern h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: white !important;
}

#modalDetalhesGrafico .modal-body-modern {
    padding: 0 !important;
    background: #f8fafc !important;
    overflow-y: auto !important;
    flex: 1 !important;
}

#modalDetalhesGrafico .modal-footer-modern {
    padding: 16px 24px !important;
    background: white !important;
    border-top: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
}

#modalDetalhesGrafico .btn-fechar-modal {
    width: 100% !important;
    padding: 12px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer !important;
}

#modalDetalhesGrafico .btn-fechar-modal:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.lista-customizada {
    max-height: 350px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
}

.lista-customizada table { width: 100%; border-collapse: collapse; }
.lista-customizada tr:nth-child(even) { background-color: #f8fafc; }
.lista-customizada tr:hover { background-color: #eff6ff; }
.lista-customizada td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.9rem;
}
.lista-customizada td:last-child { text-align: right; font-weight: 700; color: #284296; }

div.swal2-container { z-index: 20000 !important; }

@media (max-width: 768px) {
    .typewriter-msg { display: none !important; }
    .charts-main-grid { grid-template-columns: 1fr; }
    .charts-header { flex-direction: column; align-items: flex-start; }
}

button, 
.btn-nav, 
.btn-salvar, .btn-modern-save,
.btn-cancel, .btn-modern-cancel,
.btn-novo, 
.btn-sync, 
.btn-excel, 
.btn-edit, 
.btn-del, 
.btn-pill, 
.btn-lock,
.action-btn,
.nav-icon {
    transition: all 0.2s ease, transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

button:active, 
.btn-nav:active, 
.btn-salvar:active, .btn-modern-save:active,
.btn-cancel:active, .btn-modern-cancel:active,
.btn-novo:active, 
.btn-sync:active, 
.btn-excel:active, 
.btn-edit:active, 
.btn-del:active, 
.btn-pill:active, 
.btn-lock:active,
.action-btn:active,
.nav-icon:active {
    transform: scale(0.95) !important; 
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.1) !important;
    filter: brightness(0.95);
}

.close-modal-modern {
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 32px; 
    height: 32px; 
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal-modern:hover { 
    background: rgba(255, 255, 255, 0.1); 
    color: white; 
}