/*
 * EOL Application Stylesheet (Vanilla CSS)
 * Brand Identity: RENTEK Corporate Design System (Viajes App + EOL Identity)
 * Version: 2.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Viajes App + EOL Rentek Design System Tokens */
  --primary: #001F5F;           /* Azul Navy Rentek */
  --primary-light: #1D9DD9;     /* Azul Cielo / Rey */
  --primary-dark: #00143D;      /* Azul Ultramar Profundo */
  --accent: #FF7A00;            /* Naranja Rentek Oficial / EOL */
  --accent-light: #FFA043;      /* Naranja Claro */
  --accent-hover: #E66E00;      /* Naranja Oscuro */
  --accent-dark: #C2410C;
  
  --bg-light: #F4F7FA;          /* Fondo Claro Moderno */
  --white: #FFFFFF;
  --text-main: #0F172A;         /* Slate Oscuro */
  --text-muted: #64748B;        /* Slate Muted */
  --border: #E2E8F0;            /* Borde Moderno */
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;
  
  /* Legacy aliases for backwards compatibility */
  --color-primary: var(--primary);
  --color-primary-light: var(--primary-light);
  --color-primary-dark: var(--primary-dark);
  --color-orange: var(--accent);
  --color-text-dark: var(--text-main);
  --color-text-muted: var(--text-muted);
  --color-status-venta: var(--success);
  --color-status-renovacion: var(--primary);
  --color-status-devolucion: var(--accent);
  --color-status-sinresp: var(--danger);
  --color-status-ninguno: #94A3B8;
  --color-grey-light: #F8FAFC;
  --color-grey: #F1F5F9;
  
  --font-family-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family: var(--font-family-inter);

  --shadow-soft: 0 4px 20px -5px rgba(0, 31, 95, 0.08);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 16px 32px -4px rgba(0, 31, 95, 0.12);

  --glass: rgba(255, 255, 255, 0.92);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-premium: 16px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-inter);
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/*/* =========================================================================
   LOGIN SCREEN (Viajes Frosted Glass + EOL Identity)
   ========================================================================= */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 35%, #0B2968 0%, #001F5F 55%, #001238 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: hidden;
  padding: 1.5rem;
}

/* Luces ambientales profundas */
.login-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.login-bg-glow.glow-1 {
  top: -10%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.22) 0%, transparent 70%);
}
.login-bg-glow.glow-2 {
  bottom: -15%;
  left: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 157, 217, 0.25) 0%, transparent 70%);
}
.login-bg-glow.glow-3 {
  top: 25%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 41, 104, 0.5) 0%, transparent 70%);
}

/* Malla tecnológica y financiera en el fondo */
.login-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(29, 157, 217, 0.08) 1.5px, transparent 1.5px);
  background-size: 36px 36px, 72px 72px;
  background-position: 0 0, 18px 18px;
  mask-image: radial-gradient(circle at 50% 50%, black 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 45%, transparent 88%);
  pointer-events: none;
  z-index: 1;
}

/* Curvas y Líneas Financieras Minimalistas en Fondo */
.login-bg-finance-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Tarjeta Principal de Login (Pura, Minimalista y Limpia) */
.login-card {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  padding: 3.2rem 2.85rem;
  border-radius: 22px;
  box-shadow: 0 25px 60px -12px rgba(0, 15, 50, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.9);
  text-align: center;
  width: 460px;
  max-width: 92%;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.6rem;
}

.login-logo-container img {
  width: 145px;
  height: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
  margin-bottom: 0.65rem;
}

.login-header-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0;
  letter-spacing: -0.3px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  text-align: left;
}

.login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-form .form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-form .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-form .input-wrapper i.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.login-form .input-wrapper input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  outline: none;
  background: #ffffff;
  transition: all var(--transition-fast);
}

.login-form .input-wrapper input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18);
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  outline: none;
  border-radius: 6px;
}

.password-toggle-btn:hover {
  color: var(--primary);
  background: rgba(0, 31, 95, 0.05);
}

.btn-login-submit {
  background: linear-gradient(135deg, var(--primary) 0%, #15347A 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0.5rem;
  box-shadow: 0 6px 18px rgba(0, 31, 95, 0.25);
  transition: all var(--transition-fast);
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #00287A 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 122, 0, 0.3);
}

.login-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(13, 27, 61, 0.08);
  padding-top: 1.2rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================================
   MAIN DASHBOARD GRID LAYOUT (Viajes App Architecture)
   ========================================================================= */
#app-container {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  background-color: var(--bg-light);
}

/* Sidebar */
.sidebar {
  background: linear-gradient(180deg, #001F5F 0%, #00143D 100%);
  color: var(--white);
  padding: 1.6rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.06);
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.4rem 0.6rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.4rem;
  text-decoration: none;
}

.sidebar-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
}

.sidebar-brand-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.sidebar-brand-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.sidebar-version-tag {
  font-size: 0.62rem;
  background: rgba(255, 122, 0, 0.25);
  color: #FFB366;
  border: 1px solid rgba(255, 122, 0, 0.4);
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  font-family: monospace;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-nav-heading {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.8rem 0.8rem 0.3rem;
  font-weight: 700;
}

.nav-item {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.87rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.nav-item i {
  width: 20px;
  font-size: 1.05rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.nav-item:hover i {
  color: #FF7A00;
}

.nav-item.active {
  background: linear-gradient(90deg, var(--primary-light) 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(29, 157, 217, 0.35);
}

.nav-item.active i {
  color: #ffffff;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 4px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
}

.nav-counter-badge {
  margin-left: auto;
  background: var(--danger);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Cloud DB Sync Status */
#cloud-status {
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

#cloud-status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

#cloud-status-text {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Sidebar Footer */
.sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #E35731 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3);
}

.sidebar-user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-user-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-sidebar-logout {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.75);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-sidebar-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #EF4444;
}

/* =========================================================================
   TOP BAR & MAIN CONTENT
   ========================================================================= */
.main-content {
  background: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-bar {
  padding: 1.15rem 2.5rem;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 10px rgba(0, 31, 95, 0.02);
}

.top-bar-title h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-title h1 i {
  color: var(--accent);
  font-size: 1.2rem;
}

.top-bar-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.date-display {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  background: #F8FAFC;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-header-action {
  background: var(--white);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--success);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-header-action:hover {
  background: var(--success);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.content-area {
  padding: 2.2rem 2.5rem;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

/* Animations */
.animate-in {
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Legacy tab-navigation fallback */
.tab-navigation {
  display: none;
}

/* =========================================================================
   STATS CARDS (Viajes Style Elevated)
   ========================================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.stat-card {
  background: var(--glass);
  backdrop-filter: blur(8px);
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius-premium);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 120px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(29, 157, 217, 0.4);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
}

.stat-icon.blue { background-color: #E0E7FF; color: #4338CA; }
.stat-icon.orange { background-color: #FFEDD5; color: #C2410C; }
.stat-icon.green { background-color: #DCFCE7; color: #15803D; }
.stat-icon.amber { background-color: #FEF3C7; color: #B45309; }
.stat-icon.purple { background-color: #F3E8FF; color: #7E22CE; }

.stat-details h3 {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.stat-details p {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
  line-height: 1.1;
}

/* =========================================================================
   PANEL CARDS & CONTAINERS
   ========================================================================= */
.panel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-premium);
  padding: 1.8rem 2.2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
  color: var(--text-main);
  transition: box-shadow var(--transition-fast);
}

.panel-card:hover {
  box-shadow: 0 8px 25px rgba(0, 31, 95, 0.06);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-title h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.panel-title i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 31, 95, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 157, 217, 0.3);
}

.btn-accent {
  background: var(--accent);
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.35);
}

/* =========================================================================
/* =========================================================================
   TABLES (Viajes Style Elevated with Sticky Headers & Fixed NIT)
   ========================================================================= */
.table-container {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 31, 95, 0.04);
  overflow-x: auto;
  overflow-y: auto;
  max-height: 68vh;
  position: relative;
}

/* Modern smooth scrollbars */
.table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.table-container::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}
.table-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.table-container::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.custom-table, table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

thead {
  position: sticky;
  top: 0;
  z-index: 15;
}

th {
  position: sticky;
  top: 0;
  background-color: #F8FAFC;
  padding: 1rem 1.1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  letter-spacing: 0.6px;
  white-space: nowrap;
  user-select: none;
  z-index: 15;
}

td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.85rem;
  vertical-align: middle;
  color: #1E293B;
  background-color: #FFFFFF;
}

tr:hover td {
  background-color: #F8FAFC;
}

/* Inmovilizar columna NIT (Primera columna fija al hacer scroll horizontal) */
.custom-table thead th:first-child {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 25;
  background-color: #EEF2F6;
  border-right: 2px solid var(--border);
  box-shadow: 3px 0 8px rgba(0, 31, 95, 0.08);
}

.custom-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 8;
  background-color: #FFFFFF;
  border-right: 2px solid var(--border);
  box-shadow: 3px 0 8px rgba(0, 31, 95, 0.06);
  font-weight: 700;
}

.custom-table tbody tr:hover td:first-child {
  background-color: #EEF2F6;
}

/* Ajuste de tamaño de columnas (Column Resizer) */
.col-resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  cursor: col-resize;
  user-select: none;
  height: 100%;
  z-index: 30;
}

.col-resizer:hover,
.col-resizer.is-resizing {
  background-color: var(--accent);
  width: 3px;
}

.custom-table code {
  font-family: monospace;
  background: rgba(13, 27, 61, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.85rem;
}

/* =========================================================================
   TABLERO DE CONTROL & ANS / SLA STYLES
   ========================================================================= */
.tablero-control {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-premium);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.tablero-control::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.tablero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #F1F5F9;
}

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

.tablero-title h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.tablero-title i {
  color: var(--accent);
  font-size: 1.15rem;
}

.tablero-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tablero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.tablero-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.tablero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 31, 95, 0.06);
  border-color: rgba(29, 157, 217, 0.35);
}

.tablero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.tablero-card-header span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.tablero-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.tablero-card-icon.blue { background: #E0E7FF; color: #4338CA; }
.tablero-card-icon.orange { background: #FFEDD5; color: #C2410C; }
.tablero-card-icon.green { background: #DCFCE7; color: #15803D; }
.tablero-card-icon.amber { background: #FEF3C7; color: #B45309; }
.tablero-card-icon.purple { background: #F3E8FF; color: #7E22CE; }
.tablero-card-icon.red { background: #FEE2E2; color: #DC2626; }

.tablero-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.tablero-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SLA / ANS Status Badges */
.ans-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ans-badge.ontime {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.ans-badge.warning {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.ans-badge.danger {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.ans-badge.pending {
  background: #F8FAFC;
  color: #64748B;
  border: 1px dashed #CBD5E1;
}

.ans-badge.na {
  background: #F1F5F9;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
}

/* Status Breakdown Bars in Tablero */
.status-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.5rem;
}

.status-mini-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-mini-pill strong {
  color: var(--primary);
}

/* =========================================================================
   Nuevo Tablero Ejecutivo de Liderazgo Comercial (Espacioso y Desglosado)
   ========================================================================= */
.tablero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.tablero-kpi-grid.grid-4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.tablero-kpi-grid.grid-5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.tablero-card.active-kpi-filter {
  border-color: #D97706 !important;
  background: #FFFBEB !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.15) !important;
}

@media (max-width: 1300px) {
  .tablero-kpi-grid.grid-5-cols {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 1200px) {
  .tablero-kpi-grid.grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tablero-kpi-grid.grid-4-cols,
  .tablero-kpi-grid.grid-5-cols {
    grid-template-columns: 1fr;
  }
}

.tablero-estados-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 31, 95, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}

.tablero-estados-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.tablero-estados-title strong {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 700;
}

.tablero-estados-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}

.btn-clear-status {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-clear-status:hover {
  background: #FDE68A;
  color: #92400E;
}

/* Barra de progresión proporcional */
.tablero-estados-bar {
  height: 8px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  width: 100%;
}

.estado-bar-segment {
  height: 100%;
  transition: width 0.35s ease;
}

.seg-sin-gestionar { background: #FF7A00; }
.seg-en-gestion    { background: #F59E0B; }
.seg-nueva-oferta  { background: #9333EA; }
.seg-definido      { background: #0284C7; }
.seg-devolucion    { background: #EA580C; }
.seg-validacion-pago { background: #CA8A04; }
.seg-cerrado       { background: #10B981; }

/* Sub-estados Operaciones Segments */
.seg-otrosi         { background: #0284C7; }
.seg-oferta-venta   { background: #D97706; }
.seg-por-facturar   { background: #EA580C; }
.seg-factura-enviada{ background: #4F46E5; }
.seg-renovada       { background: #16A34A; }

/* Sub-estados Logística Segments */
.seg-sin-programar  { background: #DC2626; }
.seg-programado     { background: #D97706; }
.seg-recibido       { background: #16A34A; }

/* Responsive column helpers for dashboard status panels */
.grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr) !important; }
.grid-cols-7 { grid-template-columns: repeat(7, 1fr) !important; }

/* Grilla de tarjetas de estados amplias */
.tablero-estados-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.estado-box {
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent;
  min-height: 110px;
  position: relative;
  user-select: none;
}

.estado-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 31, 95, 0.08);
}

.estado-box.active-filter {
  box-shadow: 0 0 0 2px var(--primary), 0 8px 20px rgba(0, 31, 95, 0.12);
  transform: translateY(-2px);
}

.estado-box.active-filter::after {
  content: 'Filtro activo';
  position: absolute;
  top: -8px;
  right: 10px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.estado-box-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
}

.estado-box-icon {
  font-size: 0.95rem;
}

.estado-box-name {
  line-height: 1.2;
}

.estado-box-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0;
  letter-spacing: -0.5px;
}

.estado-box-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.estado-pct-badge {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Colores temáticos por estado */
.card-sin-gestionar {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #C2410C;
}
.card-sin-gestionar .estado-box-value {
  color: #EA580C;
}

.card-en-gestion {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #B45309;
}
.card-en-gestion .estado-box-value {
  color: #D97706;
}

.card-definido {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0369A1;
}
.card-definido .estado-box-value {
  color: #0284C7;
}

.card-devolucion {
  background: #FFF1F2;
  border-color: #FECDD3;
  color: #BE123C;
}
.card-devolucion .estado-box-value {
  color: #E11D48;
}

.card-cerrado {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #15803D;
}
.card-cerrado .estado-box-value {
  color: #16A34A;
}

/* Operaciones Sub-estados */
.card-otrosi {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0369A1;
}
.card-otrosi .estado-box-value { color: #0284C7; }

.card-oferta-venta {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #B45309;
}
.card-oferta-venta .estado-box-value { color: #D97706; }

.card-por-facturar {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #C2410C;
}
.card-por-facturar .estado-box-value { color: #EA580C; }

.card-factura-enviada {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}
.card-factura-enviada .estado-box-value { color: #4F46E5; }

.card-renovada {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #15803D;
}
.card-renovada .estado-box-value { color: #16A34A; }

/* Logística Sub-estados */
.card-sin-programar {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
}
.card-sin-programar .estado-box-value { color: #B91C1C; }

.card-programado {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #B45309;
}
.card-programado .estado-box-value { color: #D97706; }

.card-recibido {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #15803D;
}
.card-recibido .estado-box-value { color: #16A34A; }

/* Finanzas Estados */
.card-validacion-pago {
  background: #FEF9C3;
  border-color: #FEF08A;
  color: #854D0E;
}
.card-validacion-pago .estado-box-value { color: #A16207; }

.card-nueva-oferta {
  background: #FAF5FF;
  border-color: #E9D5FF;
  color: #7E22CE;
}
.card-nueva-oferta .estado-box-value {
  color: #9333EA;
}

/* Bloqueo Operativo & Alertas */
.row-bloqueado-operativo {
  background-color: #FEF2F2 !important;
  border-left: 5px solid #DC2626 !important;
}

.row-bloqueado-operativo:hover {
  background-color: #FEE2E2 !important;
}

.badge-bloqueado {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
  border: 1px solid #FCA5A5 !important;
  font-weight: 800 !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: pulseBlock 2s infinite ease-in-out;
}

@keyframes pulseBlock {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.btn-commercial-blocked {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-commercial-blocked:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.btn-finance-unlock {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-finance-unlock:hover {
  background: #059669;
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .tablero-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  }
  .tablero-estados-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .tablero-estados-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Status Badges (Pills) */
.badge-status, .status-pill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-status.sin-gestionar {
  background: #FFEDD5;
  color: #C2410C;
}

.badge-status.en-gestion {
  background: #FEF3C7;
  color: #B45309;
}

.badge-status.escenario-definido {
  background: #E0F2FE;
  color: #0369A1;
}

.badge-status.definir-propuesta {
  background: #F3E8FF;
  color: #7E22CE;
}

.badge-status.devolucion {
  background: #FFEDD5;
  color: #EA580C;
}

.badge-status.renovacion {
  background: #E0E7FF;
  color: #3730A3;
}

.badge-status.venta {
  background: #DCFCE7;
  color: #15803D;
}

.badge-status.validation {
  background: #FEF08A;
  color: #854D0E;
}

.badge-status.cerrado {
  background: #E2E8F0;
  color: #475569;
}

/* Action Buttons in Table */
.btn-action-icon {
  background: #F1F5F9;
  border: 1px solid var(--border);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.85rem;
}

.btn-action-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 31, 95, 0.2);
}

/* File Upload Zone */
.file-upload-zone {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #F8FAFC;
}

.file-upload-zone:hover {
  border-color: var(--accent);
  background: #FFF9F2;
  color: var(--accent);
}

.upload-icon {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Modals (Clean white glassmorphic popup) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 27, 61, 0.45); /* Navy transparent tint */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.alert-overlay {
  z-index: 3000 !important;
}

.modal-content {
  background: #ffffff;
  border: 1px solid rgba(13, 27, 61, 0.12);
  border-radius: var(--radius-lg);
  width: 92%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(13, 27, 61, 0.25), 0 0 0 1px rgba(13, 27, 61, 0.05);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-dark);
  font-family: var(--font-family-inter);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(13, 27, 61, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h3 {
  font-family: var(--font-family-inter);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.modal-header h3 i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.btn-close:hover {
  color: var(--color-primary-dark);
  background: rgba(13, 27, 61, 0.06);
}

.modal-body {
  padding: 1.75rem;
  font-family: var(--font-family-inter);
}

.modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(13, 27, 61, 0.06);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(13, 27, 61, 0.015);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

/* Unified Modal Action Bar */
.modal-actions-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(13, 27, 61, 0.08);
  margin-top: 1.25rem;
  grid-column: 1 / -1;
  width: 100%;
}

/* Modal Inputs & Grid for Symmetry and Spacing */
.modal-grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.modal-grid-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-grid-form .form-group label {
  font-family: var(--font-family-inter);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="number"],
.modal-content input[type="date"],
.modal-content input[type="time"],
.modal-content select,
.modal-content textarea,
.modal-grid-form .form-group input,
.modal-grid-form .form-group select,
.modal-grid-form .form-group textarea {
  font-family: var(--font-family-inter);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 27, 61, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus,
.modal-grid-form .form-group input:focus,
.modal-grid-form .form-group select:focus,
.modal-grid-form .form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Standard Corporate Buttons for Modals */
.btn-modal-confirm {
  background: var(--color-primary-dark); /* #0D1B3D */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(13, 27, 61, 0.12);
  font-family: var(--font-family-inter);
}

.btn-modal-confirm:hover {
  background: #182e66;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 27, 61, 0.18);
}

.btn-modal-confirm:active {
  transform: translateY(0);
}

.btn-modal-confirm.btn-success {
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-modal-confirm.btn-success:hover {
  background: #059669;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-modal-confirm.btn-warning {
  background: var(--color-orange);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
}
.btn-modal-confirm.btn-warning:hover {
  background: #e06c00;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.35);
}

.btn-modal-confirm.btn-danger {
  background: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}
.btn-modal-confirm.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Minimalist / Outline Cancel Button */
.btn-modal-cancel {
  background: transparent;
  border: 1px solid rgba(13, 27, 61, 0.15);
  color: var(--color-text-muted);
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-family-inter);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-modal-cancel:hover {
  color: var(--color-text-dark);
  background: rgba(13, 27, 61, 0.04);
  border-color: rgba(13, 27, 61, 0.3);
}

/* Unified Info Banners inside Modals */
.modal-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  background: rgba(30, 58, 138, 0.04);
  border: 1px solid rgba(30, 58, 138, 0.15);
  color: var(--color-primary-dark);
}

.modal-info-banner.warning {
  background: rgba(255, 122, 0, 0.05);
  border-color: rgba(255, 122, 0, 0.2);
  color: #b45309;
}

.modal-info-banner.success {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
  color: #047857;
}

.modal-info-banner.danger {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}

/* App Version Badge in Navbar */
.app-version-badge {
  background: rgba(30, 58, 138, 0.08);
  color: var(--color-primary);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  margin-left: 8px;
  border: 1px solid rgba(30, 58, 138, 0.18);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
}

/* Custom Alert Box Layout */
.custom-alert-box {
  max-width: 440px !important;
  padding: 2.25rem !important;
  text-align: center;
  border-radius: var(--radius-lg) !important;
}

.custom-alert-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.custom-alert-icon.info {
  color: var(--color-primary);
}

.custom-alert-icon.warning {
  color: #E2B13C; /* subtle gold warning tone */
}

.custom-alert-title {
  font-family: var(--font-family-inter);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.custom-alert-message {
  font-family: var(--font-family-inter);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* Subtle warning modal for deletion */
.delete-warning-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(226, 177, 60, 0.08);
  color: #b2851a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(226, 177, 60, 0.15);
  font-family: var(--font-family-inter);
}

/* Drag & Drop File Upload Styles */
.file-upload-zone {
  border: 2px dashed rgba(30, 58, 138, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  background: var(--color-grey-light);
}

.file-upload-zone:hover {
  border-color: var(--color-primary);
  background: rgba(30, 58, 138, 0.03);
}

.upload-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

/* Email popups floating panel */
.email-notifications-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 400px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10000;
}

.email-notification-card {
  background: #ffffff;
  color: var(--color-text-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(13, 27, 61, 0.15);
  border-left: 5px solid var(--color-primary);
  overflow: hidden;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(13, 27, 61, 0.05);
  border-right: 1px solid rgba(13, 27, 61, 0.05);
}

.email-header {
  background: var(--color-primary-dark);
  color: white;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.email-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.email-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
}

.email-close-btn:hover {
  color: white;
}

.email-body-content {
  padding: 15px;
  max-height: 250px;
  overflow-y: auto;
  background: #ffffff;
}

.email-field {
  margin-bottom: 5px;
  word-break: break-all;
}

.email-divider {
  margin: 8px 0;
  border: none;
  border-top: 1px solid #e2e8f0;
}

.email-text {
  font-family: monospace;
  background: var(--color-grey-light);
  padding: 10px;
  border-radius: var(--radius-sm);
  white-space: pre-line;
  border: 1px solid #e2e8f0;
  margin-top: 5px;
  color: #334155;
}

/* Custom Grid layout for Details panel */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.detail-item {
  background: var(--color-grey-light);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 27, 61, 0.05);
}

.detail-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}

.detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.detail-value.financial {
  color: var(--color-primary);
  font-family: monospace;
  font-weight: 700;
}

.grid-span-2 {
  grid-column: span 2;
}

/* Multi-select check list styles */
.multi-select-list {
  background: #ffffff;
  border: 1px solid rgba(13, 27, 61, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px;
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition-fast);
  color: var(--color-text-dark);
  width: 100%;
}

.checkbox-label:hover {
  background: var(--color-grey-light);
}

.checkbox-label input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

/* User management specific styles */
.user-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 27, 61, 0.06);
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

/* Steps Indicator (Logistics Flow) */
.steps-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(13, 27, 61, 0.08);
  z-index: 1;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  width: 40%;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-grey);
  border: 2px solid rgba(13, 27, 61, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: var(--transition-normal);
}

.step-indicator.active .step-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 10px rgba(30, 58, 138, 0.25);
}

.step-indicator.completed .step-circle {
  background: var(--color-status-venta);
  border-color: var(--color-status-venta);
  color: white;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.step-indicator.active .step-label {
  color: var(--color-primary-dark);
}

/* Custom file items list */
.uploaded-files-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-grey-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  border: 1px solid rgba(13, 27, 61, 0.05);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-remove-file {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  transition: 0.1s;
}

.btn-remove-file:hover {
  transform: scale(1.1);
}

/* Audit log list */
.audit-logs-list {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid rgba(13, 27, 61, 0.08);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.audit-log-row {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(13, 27, 61, 0.05);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.audit-log-row:hover {
  background: var(--color-grey-light);
}

.log-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.log-user {
  font-weight: 600;
  color: var(--color-primary);
}

.log-action {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.log-details {
  color: #334155;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(13, 27, 61, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 27, 61, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.slide-in {
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-out {
  animation: slideOutRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Responsive fixes */
@media (max-width: 900px) {
  #app-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
    position: relative;
    padding: 1rem;
  }

  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: wrap;
  }

  .top-bar {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .content-area {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 768px) {
  .app-container {
    padding: 1rem;
  }
  
  .navbar {
    padding: 0.8rem 1rem;
  }
  
  .tab-navigation {
    width: 100%;
    overflow-x: auto;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-span-2 {
    grid-column: span 1;
  }
  
  .steps-container::before {
    display: none;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .step-indicator {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* =========================================================================
   Update Notification Modal & Floating Banner (EOL v2.6.0)
   ========================================================================= */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#eol-update-modal .modal-content {
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#eol-update-banner {
  animation: slideInUp 0.35s ease;
}

#btn-update-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.45);
}

#btn-banner-update:hover {
  background: #e06c00;
}

/* =========================================================================
   Vista de Consulta: Requisitos de Vinculación & Radicación (Checklist KAM)
   ========================================================================= */
.checklist-view-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.checklist-header-card {
  background: linear-gradient(135deg, #0A2540 0%, #173B63 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.12);
  flex-wrap: wrap;
  gap: 1rem;
}

.checklist-header-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.checklist-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 212, 178, 0.18);
  color: #00D4B2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.checklist-header-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.checklist-header-subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 650px;
  line-height: 1.4;
}

.checklist-header-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00D4B2;
}

/* Filtros */
.checklist-filters-panel {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
}

.checklist-filters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.checklist-filter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.checklist-filter-group label i {
  color: #008770;
  margin-right: 4px;
}

.checklist-dropdown {
  width: 100%;
  height: 44px;
  padding: 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
  background-color: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checklist-dropdown:focus {
  border-color: #0A2540;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.12);
  outline: none;
}

/* Barra PYME */
.checklist-pyme-bar {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  align-items: center;
}

.checklist-pyme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  color: #334155;
}

.checklist-pyme-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #008770;
  cursor: pointer;
}

/* Action Bar */
.checklist-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.checklist-summary-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-summary-chip i {
  color: #0A2540;
}

.checklist-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Resultados */
.checklist-results-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.checklist-results-header {
  padding: 1.1rem 1.5rem;
  background: #FAFBFD;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checklist-results-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A2540;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-counter-pill {
  background: #E6F8F5;
  color: #006D5B;
  border: 1px solid #B2E8E0;
  padding: 0.35rem 0.85rem;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Progress track */
.checklist-progress-track {
  height: 4px;
  background: #E2E8F0;
  width: 100%;
}

.checklist-progress-fill {
  height: 100%;
  background: #00D4B2;
  transition: width 0.3s ease;
}

/* Lista de ítems */
.checklist-items-list {
  display: flex;
  flex-direction: column;
}

.checklist-row {
  display: flex;
  align-items: flex-start;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.15s ease;
  gap: 1rem;
}

.checklist-row:last-child {
  border-bottom: none;
}

.checklist-row:hover {
  background-color: #F8FAFC;
}

.checklist-row.is-checked {
  background-color: #F0FDF4;
}

.checklist-row.is-checked .checklist-item-name {
  color: #166534;
  text-decoration: line-through;
  opacity: 0.75;
}

.checklist-row.is-pyme-row {
  background-color: #FEFCE8;
}

.checklist-checkbox-wrapper {
  margin-top: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.checklist-item-check {
  width: 19px;
  height: 19px;
  accent-color: #008770;
  cursor: pointer;
}

.checklist-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checklist-item-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checklist-item-bullet-num {
  font-weight: 700;
  color: #0A2540;
  font-size: 0.92rem;
  min-width: 24px;
}

.checklist-item-name {
  font-weight: 600;
  color: #1E293B;
  font-size: 0.95rem;
  line-height: 1.35;
}

.checklist-item-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tag-perfil {
  background: #E0E7FF;
  color: #3730A3;
}

.tag-operacion {
  background: #FEF3C7;
  color: #92400E;
}

.checklist-item-microtag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 1px 6px;
  border-radius: 3px;
}

.checklist-item-vigencia {
  font-size: 0.82rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 28px;
}

.checklist-item-vigencia i {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* Condiciones Especiales */
.checklist-condiciones-card,
.checklist-eeff-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
}

.checklist-section-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-condiciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.checklist-condicion-item {
  border-left: 4px solid;
  border-top: 1px solid;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.condicion-item-header {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.condicion-item-text {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.4;
}

/* EEFF Grid */
.checklist-eeff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.checklist-eeff-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

.eeff-periodo {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eeff-exigencia {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
}

/* Media Queries & Responsive */
@media (max-width: 768px) {
  .checklist-filters-grid {
    grid-template-columns: 1fr;
  }

  .checklist-header-card {
    padding: 1.1rem;
  }

  .checklist-header-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .checklist-header-title {
    font-size: 1.15rem;
  }

  .checklist-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .checklist-action-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .checklist-action-buttons button {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
  }

  .checklist-row {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .checklist-item-vigencia {
    margin-left: 0;
  }
}

/* Print Friendly */
@media print {
  #sidebar, .top-bar, .checklist-filters-panel, .checklist-action-bar, #eol-update-modal, #eol-update-banner {
    display: none !important;
  }
  .app-main {
    margin-left: 0 !important;
    padding: 0 !important;
  }
  .checklist-view-wrapper {
    max-width: 100% !important;
  }
  .checklist-results-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* =========================================================================
   ESTILOS PARA BANDEJA DE PREAPROBADOS ACEPTADOS (SALESFORCE)
   ========================================================================= */
.badge-sf-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-sf-status.pendiente {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.badge-sf-status.en-gestion {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.badge-sf-status.gestionado {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.badge-sf-status.descartado {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
}

.btn-sf-copy {
  background: rgba(3, 105, 161, 0.08);
  color: #0369A1;
  border: 1px solid rgba(3, 105, 161, 0.2);
  transition: all 0.2s ease;
}

.btn-sf-copy:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.btn-sf-check {
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.2);
  transition: all 0.2s ease;
}

.btn-sf-check:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

