@charset "UTF-8";

:root {
  --cdw-sidebar-bg: #111827;
  --cdw-sidebar-bg-light: #1f2937;
  --cdw-sidebar-hover: rgba(255, 255, 255, 0.08);
  --cdw-sidebar-active: #3b82f6;
  --cdw-sidebar-active-light: rgba(59, 130, 246, 0.1);
  --cdw-header-bg: #ffffff;
  --cdw-content-bg: #f8fafc;
  --cdw-card-bg: #ffffff;
  --cdw-primary: #2563eb;
  --cdw-primary-light: #3b82f6;
  --cdw-danger: #dc2626;
  --cdw-success: #16a34a;
  --cdw-warning: #d97706;
  --cdw-text: #1f2937;
  --cdw-text-muted: #6b7280;
  --cdw-border: #e5e7eb;
  --cdw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --cdw-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --cdw-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --cdw-radius: 12px;
  --cdw-radius-sm: 8px;
  --cdw-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--cdw-content-bg);
  color: var(--cdw-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT PRINCIPAL ===== */
.cdw-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* ===== SIDEBAR PROFISSIONAL ===== */
.cdw-sidebar {
  width: 280px;
  min-width: 280px;
  background: var(--cdw-sidebar-bg);
  color: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 100;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--cdw-transition);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cdw-sidebar .sidebar-title {
  margin: 0;
  padding: 1.2rem 1rem 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.cdw-sidebar .sidebar-title::before {
  content: none;
}

.cdw-brand-logo-sidebar {
  width: 132px;
  max-width: 100%;
  height: auto;
  display: block;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cdw-brand-logo-mobile {
  display: none;
}

.cdw-sidebar .ui.vertical.menu {
  border: none;
  background: transparent;
  margin: 1rem 0 0.75rem 0.75rem;
  padding: 0 0.5rem 0.75rem 0;
  flex: 1;
  min-height: auto;
  overflow-y: visible;
  overscroll-behavior: auto;
  -webkit-overflow-scrolling: auto;
  scrollbar-width: auto;
  scrollbar-color: auto;
}

.cdw-sidebar .ui.vertical.menu .item {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.875rem 1rem !important;
  border-radius: var(--cdw-radius-sm);
  margin: 0.25rem 0;
  border: none;
  transition: var(--cdw-transition);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  position: relative;
}

.cdw-sidebar .ui.vertical.menu .item:hover {
  background: var(--cdw-sidebar-hover);
  color: #fff;
  transform: translateX(2px);
}

.cdw-sidebar .ui.vertical.menu .item.active {
  background: var(--cdw-sidebar-active-light);
  color: #fff;
  font-weight: 600;
  border-left: 3px solid var(--cdw-sidebar-active);
}

.cdw-sidebar .ui.vertical.menu .item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--cdw-sidebar-active);
  border-radius: 0 2px 2px 0;
}

.cdw-sidebar .ui.vertical.menu .item i.icon {
  margin: 0 !important;
  width: 20px;
  height: 20px;
  opacity: 0.9;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.cdw-sidebar-footer {
  margin-top: auto;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.5rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--cdw-sidebar-bg-light);
}

.cdw-sidebar-footer .logout .item {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  border-radius: var(--cdw-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--cdw-transition);
}

.cdw-sidebar-footer .logout .item:hover {
  background: var(--cdw-sidebar-hover);
  color: #fff;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.cdw-main {
  margin-left: 280px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100% - 280px);
  transition: var(--cdw-transition);
}

/* ===== HEADER MODERNO ===== */
.cdw-header {
  background: var(--cdw-header-bg);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--cdw-border);
  box-shadow: var(--cdw-shadow);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.cdw-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cdw-header .ui.header {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cdw-text);
  letter-spacing: -0.025em;
}

.cdw-header .sub.header {
  margin-top: 0.25rem;
  color: var(--cdw-text-muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.cdw-header-right {
  display: flex;
  align-items: center;
}

.cdw-header .user-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cdw-header .user-info {
  text-align: right;
}

.cdw-header .user-info .ui.header {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cdw-text);
  white-space: nowrap;
}

.cdw-header .user-info .label {
  display: block;
  font-size: 0.8rem;
  color: var(--cdw-text-muted);
  margin-top: 0.125rem;
  white-space: nowrap;
}

.cdw-header .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

/* Botão de menu móvel */
.cdw-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cdw-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 0;
  border-radius: var(--cdw-radius-sm);
  transition: var(--cdw-transition);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.cdw-menu-toggle:hover {
  background: var(--cdw-border);
}

/* ===== CONTEÚDO ===== */
.cdw-content {
  flex: 1;
  padding: 2rem;
  background: var(--cdw-content-bg);
  width: 100%;
}

.cdw-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ===== DASHBOARD ===== */
.cdw-dashboard {
  width: 100%;
}

.cdw-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
}

.cdw-list-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--cdw-text);
  margin: 0;
  letter-spacing: -0.025em;
}

.cdw-list-subtitle {
  color: var(--cdw-text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ===== CARDS DO DASHBOARD ===== */
.cdw-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.cdw-dashboard-cards .card {
  background: var(--cdw-card-bg);
  border-radius: var(--cdw-radius);
  padding: 1.75rem;
  box-shadow: var(--cdw-shadow);
  border: 1px solid var(--cdw-border);
  transition: var(--cdw-transition);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.cdw-dashboard-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cdw-shadow-lg);
  border-color: var(--cdw-primary-light);
}

.cdw-dashboard-cards .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cdw-primary);
}

.cdw-dashboard-cards .card:nth-child(2)::before {
  background: var(--cdw-warning);
}

.cdw-dashboard-cards .card:nth-child(3)::before {
  background: var(--cdw-success);
}

.cdw-dashboard-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--cdw-text);
  line-height: 1;
  margin: 0.5rem 0;
  display: block;
  letter-spacing: -0.025em;
}

.cdw-dashboard-meta {
  color: var(--cdw-text-muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
  display: block;
  font-weight: 500;
}

/* ===== LOGIN ===== */
.cdw-login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cdw-login-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cdw-login-card {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--cdw-radius);
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.cdw-login-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cdw-login-logo-image {
  width: min(100%, 190px);
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
}

.cdw-login-logo h1 {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cdw-login-logo p {
  color: var(--cdw-text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

.cdw-login-subtitle {
  color: var(--cdw-text-muted);
  text-align: center;
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.cdw-login-card .ui.form .field {
  margin-bottom: 1.25rem;
  text-align: left;
}

.cdw-login-card .ui.form .field label {
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

.cdw-login-card .ui.form input {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid var(--cdw-border) !important;
  border-radius: var(--cdw-radius-sm) !important;
  padding: 0.75rem 1rem !important;
  width: 100%;
  height: 44px;
  font-size: 15px;
  transition: var(--cdw-transition);
}

.cdw-login-card .ui.form input:focus {
  border-color: var(--cdw-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  outline: none;
}

.cdw-login-card .ui.primary.button {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  height: 46px;
  padding: 0.75rem;
  border-radius: var(--cdw-radius-sm);
  font-weight: 600;
  font-size: 15px;
  margin-top: 0.5rem;
  transition: var(--cdw-transition);
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.cdw-login-card .ui.primary.button:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
}

.cdw-login-card .ui.primary.button:active {
  transform: translateY(0);
}

.cdw-login-secure {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cdw-border);
  color: var(--cdw-text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cdw-login-secure i {
  color: var(--cdw-success);
}

/* Mensagem de erro */
.cdw-login-card .ui.negative.message {
  margin-bottom: 1.5rem !important;
  text-align: left;
  border-radius: var(--cdw-radius-sm);
  border: none;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

/* ===== OVERLAY PARA MENU MOBILE ===== */
.cdw-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  backdrop-filter: blur(4px);
}

.cdw-overlay.active {
  display: block;
}

/* ===== RESPONSIVIDADE PROFISSIONAL ===== */
@media (max-width: 1024px) {
  .cdw-sidebar {
    transform: translateX(-100%);
    width: 280px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  }
  
  .cdw-sidebar.active {
    transform: translateX(0);
  }
  
  .cdw-main {
    margin-left: 0;
    width: 100%;
  }
  
  .cdw-menu-toggle {
    display: flex;
  }
  
  .cdw-header {
    padding: 0 1.5rem;
  }
  
  .cdw-header .ui.header {
    font-size: 1.35rem;
  }
  
  .cdw-content {
    padding: 1.5rem;
  }
  
  .cdw-dashboard-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  
  /* Login responsivo */
  .cdw-login-container {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .cdw-sidebar {
    width: 260px;
  }
  
  /* CORREÇÃO DO MENU RESPONSIVO TORTO */
  .cdw-sidebar .ui.vertical.menu {
    margin: 1rem 0.5rem;
  }
  
  .cdw-sidebar .ui.vertical.menu .item {
    padding: 0.75rem 0.875rem !important;
    margin: 0.125rem 0;
    font-size: 0.95rem;
  }
  
  .cdw-sidebar .ui.vertical.menu .item i.icon {
    font-size: 1rem;
    width: 18px;
  }
  
  .cdw-sidebar-footer {
    padding: 1rem 1.25rem;
  }
  
  .cdw-sidebar-footer .logout .item {
    padding: 0.625rem 0.875rem !important;
    font-size: 0.95rem;
  }
  
  .cdw-header {
    padding: 0 1.25rem;
    height: 64px;
  }
  
  .cdw-header-left {
    gap: 0.75rem;
  }
  
  .cdw-header .ui.header {
    font-size: 1.25rem;
  }
  
  .cdw-header .sub.header {
    font-size: 0.8125rem;
  }
  
  .cdw-content {
    padding: 1.25rem;
  }
  
  .cdw-dashboard-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cdw-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .cdw-list-title {
    font-size: 1.5rem;
  }
  
  .cdw-dashboard-value {
    font-size: 2.25rem;
  }
  
  .cdw-header .user-info {
    display: none;
  }
  
  /* LOGIN RESPONSIVO */
  .cdw-login-container {
    max-width: 92%;
  }

  .cdw-login-card {
    padding: 32px;
  }
  
  .cdw-login-logo h1 {
    font-size: 28px;
  }
  
  .cdw-login-logo p {
    font-size: 0.95rem;
  }
  
  .cdw-login-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .cdw-header {
    padding: 0 1rem;
  }
  
  .cdw-header .ui.header {
    font-size: 1.15rem;
  }
  
  .cdw-menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  
  .cdw-content {
    padding: 1rem;
  }
  
  .cdw-dashboard-cards .card {
    padding: 1.5rem;
  }
  
  .cdw-dashboard-value {
    font-size: 2rem;
  }
  
  .cdw-dashboard-meta {
    font-size: 0.9rem;
  }
  
  /* LOGIN MOBILE PEQUENO */
  .cdw-login-body {
    padding: 24px;
  }
  
  .cdw-login-card {
    padding: 32px;
  }
  
  .cdw-login-logo h1 {
    font-size: 28px;
  }
  
  .cdw-login-logo p {
    font-size: 0.9rem;
  }
  
  .cdw-login-subtitle {
    margin: 1.25rem 0 1.5rem;
    font-size: 0.95rem;
  }
  
  .cdw-login-card .ui.form input {
    height: 44px;
    font-size: 15px;
    padding: 0.75rem 1rem !important;
  }
  
  .cdw-login-card .ui.primary.button {
    height: 46px;
    padding: 0.75rem;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .cdw-sidebar {
    width: 240px;
  }
  
  .cdw-sidebar .sidebar-title {
    padding: 1.25rem 1.25rem 0.875rem;
    font-size: 1.35rem;
  }
  
  .cdw-sidebar .ui.vertical.menu .item {
    padding: 0.625rem 0.75rem !important;
    font-size: 0.9rem;
  }
  
  /* LOGIN MÓVEL MUITO PEQUENO */
  .cdw-login-card {
    padding: 24px;
  }
  
  .cdw-login-logo h1 {
    font-size: 24px;
  }
  
  .cdw-login-logo p {
    font-size: 0.85rem;
  }
  
  .cdw-login-subtitle {
    margin: 1rem 0 1.25rem;
    font-size: 0.9rem;
  }
  
  .cdw-login-card .ui.form .field {
    margin-bottom: 1rem;
  }
  
  .cdw-login-card .ui.form input {
    height: 44px;
    padding: 0.75rem 1rem !important;
    font-size: 15px;
  }
  
  .cdw-login-card .ui.primary.button {
    height: 46px;
    padding: 0.75rem;
    font-size: 15px;
  }
  
  .cdw-login-secure {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    font-size: 0.8rem;
  }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cdw-dashboard-cards .card {
  animation: fadeIn 0.3s ease-out;
}

.cdw-dashboard-cards .card:nth-child(2) {
  animation-delay: 0.1s;
}

.cdw-dashboard-cards .card:nth-child(3) {
  animation-delay: 0.2s;
}

/* Animação para login */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cdw-login-container {
    max-width: 92%;
    padding: 0 0.75rem;
  }
  .cdw-login-card {
    padding: 32px;
  }
}

@media (max-width: 520px) {
  .cdw-login-container {
    max-width: 92%;
    padding: 0 1rem;
  }
}

@media (min-width: 1200px) {
  .cdw-login-container {
    max-width: 520px;
  }
}

.cdw-login-card {
  animation: slideInUp 0.4s ease-out;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

.cdw-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.cdw-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

.cdw-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== SECTIONS & PANELS ===== */
.cdw-panel-section {
  position: relative;
  background: var(--cdw-card-bg);
  border-radius: calc(var(--cdw-radius) + 4px);
  border: 1px solid var(--cdw-border);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.cdw-clients-section .cdw-panel-content {
  margin-top: 2rem;
  padding-top: 0;
}

.cdw-clients-section {
  margin-top: 1.5rem;
  padding-top: 0;
}

.cdw-client-card {
  background: var(--cdw-card-bg);
  border-radius: var(--cdw-radius-sm);
  border: 1px solid var(--cdw-border);
  padding: 1.5rem;
  box-shadow: var(--cdw-shadow);
  margin-bottom: 1.25rem;
}

.cdw-client-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.cdw-client-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cdw-text);
  margin-bottom: 0.25rem;
}

.cdw-client-card-subtitle {
  color: var(--cdw-text-muted);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.cdw-client-card-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cdw-client-card-actions {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cdw-client-card-body {
  margin-top: 1.25rem;
}

.cdw-client-add-button {
  white-space: nowrap;
}

.cdw-client-link-button {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cdw-client-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .cdw-client-add-button {
    width: 100%;
  }

  .cdw-client-link-button {
    width: 100%;
  }
}

.cdw-panel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent 65%);
  pointer-events: none;
  filter: blur(0.5px);
  opacity: 0.6;
}

.cdw-panel-section > * {
  position: relative;
  z-index: 1;
}

.cdw-panel-section .cdw-list-header {
  margin-bottom: 1.5rem;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cdw-section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.cdw-section-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--cdw-text);
}

.cdw-section-subtitle {
  font-size: 0.95rem;
  color: var(--cdw-text-muted);
}

.cdw-panel-flash {
  margin-bottom: 1rem;
}

.cdw-panel-flash .ui.message {
  box-shadow: var(--cdw-shadow);
  border-radius: var(--cdw-radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.cdw-panel-card {
  background: var(--cdw-content-bg);
  border-radius: var(--cdw-radius-sm);
  border: 1px solid var(--cdw-border);
  padding: 1.25rem;
  box-shadow: var(--cdw-shadow);
}

.cdw-panel-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cdw-panel-content {
  margin-top: 1rem;
}

.cdw-panel-table-wrapper {
  overflow-x: auto;
  border-radius: var(--cdw-radius-sm);
}

.cdw-records-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.cdw-records-table thead th {
  padding: 0.95rem 0.8rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #334155;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(15, 23, 42, 0.06);
  vertical-align: middle;
}

.cdw-records-table tbody td {
  padding: 1.05rem 0.8rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--cdw-text);
  vertical-align: middle;
}

.cdw-records-table tbody tr:last-child td {
  border-bottom: none;
}

.cdw-records-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.cdw-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cdw-actions .inline-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.cdw-actions a,
.cdw-actions a:hover,
.cdw-actions a:focus {
  text-decoration: none !important;
}

.cdw-actions .ui.button,
.cdw-actions .ui.form .ui.button,
.cdw-primary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.cdw-empty-action {
  color: var(--cdw-text-muted);
  font-weight: 600;
}

.cdw-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
  line-height: 1.2;
}

.cdw-role-badge-admin {
  background: rgba(30, 64, 175, 0.14);
  color: #1e3a8a;
  border-color: rgba(30, 64, 175, 0.22);
}

.cdw-role-badge-client {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.22);
}

.cdw-plan-charge-fixo {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.24);
}

.cdw-plan-charge-uso {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.22);
}

.cdw-plan-charge-hibrido {
  background: rgba(147, 51, 234, 0.14);
  color: #7e22ce;
  border-color: rgba(147, 51, 234, 0.22);
}

.cdw-plan-unlimited {
  background: rgba(37, 99, 235, 0.1);
  color: #1e40af;
  border-color: rgba(37, 99, 235, 0.2);
}

.cdw-limit-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.cdw-limit-main {
  font-weight: 700;
  color: var(--cdw-text);
  line-height: 1.2;
}

.cdw-limit-sub {
  font-size: 0.8rem;
  color: var(--cdw-text-muted);
  line-height: 1.2;
}

.cdw-secret-input {
  width: 100%;
}

.cdw-secret-field {
  width: 100% !important;
  font-family: monospace !important;
  overflow-x: auto;
  white-space: nowrap;
  text-overflow: clip;
}

.cdw-badge {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  border: 1px solid rgba(15, 23, 42, 0.08);

}

.cdw-badge-ativo {
  background: rgba(37, 99, 235, 0.16);
  color: var(--cdw-primary);
}

.cdw-badge-suspenso {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
}

.cdw-badge-expirado {
  background: rgba(220, 38, 38, 0.12);
  color: var(--cdw-danger);
}

.cdw-badge-revogado {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.cdw-badge-warning {
  background: rgba(251, 191, 36, 0.15);
  color: var(--cdw-warning);
}

.cdw-panel-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--cdw-radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.5rem;
  box-shadow: var(--cdw-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cdw-panel-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.cdw-panel-form .field label {
  color: var(--cdw-text);
  font-weight: 600;
  font-size: 0.85rem;
}

.cdw-panel-form input,
.cdw-panel-form select,
.cdw-panel-form textarea {
  border-radius: var(--cdw-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--cdw-transition);
}

.cdw-panel-form input:focus,
.cdw-panel-form select:focus,
.cdw-panel-form textarea:focus {
  border-color: var(--cdw-primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  outline: none;
}

.cdw-panel-form .ui.dropdown {
  border: none;
}

.cdw-panel-form .two.fields .field {
  flex: 1;
}

.cdw-panel-form .ui.checkbox label {
  font-weight: 600;
  color: var(--cdw-text);
}

.cdw-panel-form .form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.cdw-panel-form .ui.primary.button {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  border-radius: var(--cdw-radius-sm);
  padding: 0.85rem 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cdw-panel-form .ui.button:not(.primary) {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--cdw-text);
  border-radius: var(--cdw-radius-sm);
  padding: 0.85rem 1rem;
  font-weight: 600;
}

.cdw-panel-section pre {
  background: rgba(15, 23, 42, 0.08);
  padding: 1rem;
  border-radius: var(--cdw-radius-sm);
  word-break: break-word;
}

.cdw-inline-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cdw-inline-actions .inline-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.cdw-inline-actions .ui.button,
.cdw-inline-actions .ui.button.button,
.cdw-inline-actions .ui.form .ui.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.cdw-admin-platform-wrap {
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cdw-panel-section {
    padding: 1.25rem;
  }

  .cdw-panel-card,
  .cdw-panel-form {
    padding: 1.25rem;
  }

  .cdw-inline-actions {
    justify-content: flex-start;
  }
}

.dashboard-wrapper {
  padding: 30px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}

.page-subtitle {
  color: #6b7280;
  margin-bottom: 30px;
}

.dashboard-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dashboard-page-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.btn-primary {
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.92;
}

.consultas-wrapper {
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.consultas-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #111827;
}

.consultas-search-box {
  margin-top: 40px;
}

.search-input-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 220px;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-size: 16px;
  color: #111827;
  background: #fff;
}

.search-input:focus {
  outline: none;
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.scan-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.scan-modal.hidden {
  display: none;
}

.scan-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.scan-modal-content h3 {
  margin: 0 0 16px;
  color: #111827;
}

#cameraContainer {
  min-height: 140px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 16px;
  color: #6b7280;
  text-align: center;
}

.dashboard-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
}

.card-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.card-value {
  font-size: 32px;
  font-weight: 600;
  color: #111827;
  line-height: 1.15;
  word-break: break-word;
}

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

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px;
  color: #111827;
}

.card-body {
  width: 100%;
}

.chart-area {
  min-height: 300px;
  position: relative;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
  text-align: left;
  color: #374151;
}

.ranking-table th:last-child,
.ranking-table td:last-child {
  text-align: right;
}

.dashboard-grid-advanced {
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .dashboard-wrapper {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .dashboard-wrapper {
    padding: 16px;
  }

  .consultas-wrapper {
    padding: 16px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard-page-actions {
    justify-content: stretch;
  }

  .btn-secondary {
    width: 100%;
  }

  .btn-primary {
    width: 100%;
  }

  .dashboard-card {
    padding: 20px;
  }

  .card-value {
    font-size: 26px;
  }

  .chart-area {
    min-height: 220px;
  }
}

/* ===== RESPONSIVE STRUCTURAL OVERHAUL ===== */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea,
button {
  font-size: 16px;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cdw-panel-table-wrapper,
.ui.table.responsive-wrap {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cdw-panel-table-wrapper .ui.table,
.cdw-panel-table-wrapper .cdw-records-table,
.cdw-panel-table-wrapper .ranking-table {
  min-width: 680px;
}

/* Desktop and wide screens */
@media (min-width: 1025px) {
  .cdw-sidebar {
    transform: none !important;
  }

  .cdw-overlay {
    display: none !important;
  }
}

/* Tablet and small notebooks */
@media (max-width: 1024px) {
  .cdw-main {
    margin-left: 0;
    width: 100%;
  }

  .cdw-content {
    padding: 20px;
  }

  .cdw-container {
    max-width: 100%;
  }

  .cdw-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .cdw-header .ui.header {
    font-size: 1.35rem;
    line-height: 1.15;
  }
}

/* Mobile large and tablets */
@media (max-width: 768px) {
  html,
  body {
    font-size: 16px;
  }

  .cdw-content {
    padding: 16px;
  }

  .cdw-container,
  .ui.container,
  .dashboard-wrapper,
  .consultas-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .ui.container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .cdw-header {
    min-height: 62px;
    padding: 8px 12px;
  }

  .cdw-header-left {
    min-width: 0;
    gap: 10px;
  }

  .cdw-header .ui.header {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .cdw-header .sub.header,
  .cdw-header .user-info {
    display: none;
  }

  .cdw-header .user-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .cdw-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    padding: 0;
    margin-right: 0;
  }

  .cdw-sidebar {
    width: 280px;
    min-width: 280px;
    max-width: 85vw;
    z-index: 1001;
    height: 100dvh;
  }

  .cdw-sidebar .sidebar-title {
    font-size: 1.35rem;
    padding: 1rem 1rem 0.85rem;
  }

  .cdw-sidebar .ui.vertical.menu {
    margin: 0.75rem 0.5rem;
  }

  .cdw-sidebar .ui.vertical.menu .item {
    min-height: 46px;
    font-size: 0.95rem;
    padding: 0.8rem 0.85rem !important;
  }

  .cdw-sidebar-footer .logout .item {
    min-height: 46px;
    font-size: 0.95rem;
  }

  .cdw-overlay {
    z-index: 1000;
    background: rgba(15, 23, 42, 0.55);
  }

  h1,
  .page-title,
  .consultas-header h1,
  .cdw-section-title,
  .cdw-list-title {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.25;
  }

  h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
  }

  .page-subtitle,
  .cdw-section-subtitle,
  .cdw-list-subtitle,
  .card-label {
    font-size: 0.95rem !important;
  }

  .ui.form .field label,
  .cdw-panel-form .field label,
  .cdw-login-card .ui.form .field label {
    font-size: 14px !important;
    margin-bottom: 6px;
  }

  .ui.input > input,
  .ui.form input,
  .ui.form select,
  .ui.form textarea,
  .cdw-panel-form input,
  .cdw-panel-form select,
  .cdw-panel-form textarea,
  .search-input {
    min-height: 46px !important;
    font-size: 16px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .ui.button,
  button,
  .btn,
  .btn-primary,
  .btn-secondary,
  .cdw-actions .ui.button,
  .cdw-inline-actions .ui.button,
  .cdw-panel-form .ui.primary.button,
  .cdw-panel-form .ui.button:not(.primary) {
    min-height: 46px !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
  }

  .dashboard-page-actions {
    justify-content: stretch;
  }

  .dashboard-page-actions .btn-secondary,
  .search-input-group .btn-primary,
  .search-input-group .btn-secondary {
    width: 100%;
  }

  .search-input-group {
    gap: 10px;
  }

  .dashboard-grid,
  .dashboard-grid-advanced,
  .cdw-dashboard-cards,
  .ui.cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .dashboard-card,
  .cdw-dashboard-cards .card,
  .cdw-panel-section,
  .cdw-panel-card,
  .cdw-panel-form {
    padding: 18px !important;
    border-radius: 14px;
  }

  .card-value,
  .cdw-dashboard-value {
    font-size: 1.9rem !important;
    line-height: 1.15;
  }

  .chart-area {
    min-height: 240px;
  }

  .cdw-panel-form .form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cdw-panel-form .form-actions .ui.button,
  .cdw-panel-form .form-actions button {
    width: 100%;
  }

  .ui.form .fields,
  .ui.form .two.fields,
  .ui.form .three.fields,
  .ui.form .four.fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ui.form .fields > .field,
  .ui.form .two.fields > .field,
  .ui.form .three.fields > .field,
  .ui.form .four.fields > .field,
  .cdw-panel-form .two.fields .field {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cdw-actions,
  .cdw-inline-actions {
    justify-content: flex-start;
  }

  .cdw-actions .ui.button,
  .cdw-inline-actions .ui.button {
    width: 100%;
  }

  .cdw-login-body {
    padding: 16px;
  }

  .cdw-login-container {
    width: calc(100% - 16px);
    max-width: 440px;
    padding: 0;
  }

  .cdw-login-card {
    width: 100%;
    margin: 18px auto;
    padding: 24px 20px !important;
    border-radius: 16px;
  }

  .cdw-login-logo h1 {
    font-size: 2rem !important;
    line-height: 1.15;
  }

  .cdw-login-logo p,
  .cdw-login-subtitle {
    font-size: 0.98rem !important;
  }

  .cdw-login-card .ui.form .field {
    margin-bottom: 14px;
  }

  .cdw-login-card .ui.form input {
    min-height: 46px !important;
    font-size: 16px !important;
  }

  .cdw-login-card .ui.primary.button {
    min-height: 46px !important;
    font-size: 15px !important;
  }
}

/* Small mobile */
@media (max-width: 576px) {
  .cdw-content {
    padding: 14px;
  }

  .cdw-sidebar {
    width: 86vw;
    min-width: 260px;
  }

  .cdw-header {
    padding: 8px 10px;
  }

  .cdw-header .ui.header {
    font-size: 1.1rem;
  }

  .cdw-panel-section,
  .cdw-panel-card,
  .cdw-panel-form,
  .dashboard-card,
  .cdw-dashboard-cards .card {
    padding: 16px !important;
  }

  .card-value,
  .cdw-dashboard-value {
    font-size: 1.7rem !important;
  }

  .cdw-panel-table-wrapper .ui.table,
  .cdw-panel-table-wrapper .cdw-records-table,
  .cdw-panel-table-wrapper .ranking-table {
    min-width: 620px;
  }

  .cdw-records-table thead th,
  .cdw-records-table tbody td,
  .ranking-table th,
  .ranking-table td {
    font-size: 0.9rem;
    padding: 10px 8px;
  }
}

/* ===== MOBILE HARD OVERRIDES (ANTI-MINIATURIZATION) ===== */
@media (max-width: 768px) {
  html,
  body {
    font-size: 16px !important;
  }

  .cdw-layout,
  .cdw-main,
  .cdw-content,
  .cdw-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cdw-content {
    padding: 16px !important;
  }

  .cdw-login-body {
    padding: 16px !important;
  }

  .cdw-login-container {
    width: calc(100% - 16px) !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .cdw-login-card {
    width: 100% !important;
    padding: 24px 20px !important;
    border-radius: 16px !important;
    margin: 20px auto !important;
  }

  .cdw-login-logo h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  .cdw-login-logo p,
  .cdw-login-subtitle {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .cdw-login-card .ui.form .field label,
  .ui.form .field label {
    font-size: 14px !important;
  }

  .cdw-login-card .ui.form input,
  .ui.form input,
  .ui.form select,
  .ui.form textarea,
  .search-input {
    min-height: 46px !important;
    font-size: 16px !important;
    padding: 12px 14px !important;
  }

  .ui.button,
  .btn,
  .btn-primary,
  .btn-secondary,
  button {
    min-height: 46px !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
  }

  .dashboard-grid,
  .dashboard-grid-advanced,
  .cdw-dashboard-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .dashboard-card,
  .cdw-dashboard-cards .card,
  .cdw-panel-section,
  .cdw-panel-card,
  .cdw-panel-form {
    padding: 18px !important;
  }

  .page-title,
  .cdw-section-title,
  .cdw-list-title,
  .consultas-header h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .search-input-group .btn-primary,
  .search-input-group .btn-secondary,
  .dashboard-page-actions .btn-secondary {
    width: 100% !important;
  }

  .cdw-panel-form .form-actions {
    flex-direction: column !important;
  }

  .cdw-panel-form .form-actions .ui.button {
    width: 100% !important;
  }
}


@media (max-width: 768px) {
  .cdw-brand-logo-sidebar {
    width: 118px;
  }

  .cdw-brand-logo-desktop {
    display: none;
  }

  .cdw-brand-logo-mobile {
    display: block;
    width: 92px;
  }

  .cdw-login-logo-image {
    width: min(100%, 160px);
  }
}

/* ===== SIDEBAR SCROLLBAR FINAL TUNING ===== */
.cdw-sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.26) transparent;
}

.cdw-sidebar::-webkit-scrollbar {
  width: 3px;
}

.cdw-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.cdw-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.cdw-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
}

.cdw-sidebar .ui.vertical.menu {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

