/* 
==================================================
NordSMS Professional Theme - Blue & Gray
Based on logo colors with complementary accents
==================================================
*/

:root {
  /* Primary Blue Colors (from logo) */
  --primary-color: #2563eb !important;
  --primary-hover: #1d4ed8 !important;
  --primary-light: #3b82f6 !important;
  --primary-dark: #1e40af !important;
  
  /* Secondary - Teal/Cyan (complementary to blue) */
  --secondary-color: #06b6d4 !important;
  --secondary-hover: #0891b2 !important;
  --secondary-light: #22d3ee !important;
  
  /* Accent - Indigo (harmonizes with blue) */
  --accent-color: #6366f1 !important;
  --accent-hover: #4f46e5 !important;
  
  /* Gray Scale (from logo) */
  --gray-primary: #64748b !important;
  --gray-secondary: #94a3b8 !important;
  --gray-light: #e2e8f0 !important;
  --gray-lighter: #f1f5f9 !important;
  --gray-dark: #475569 !important;
  --gray-darker: #334155 !important;
  
  /* Override Bootstrap Colors */
  --bs-primary: #2563eb !important;
  --bs-primary-rgb: 37, 99, 235 !important;
  --bs-secondary: #64748b !important;
  --bs-secondary-rgb: 100, 116, 139 !important;
  --bs-info: #06b6d4 !important;
  --bs-info-rgb: 6, 182, 212 !important;
}

/* Button Overrides */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25) !important;
}

.btn-secondary {
  background-color: var(--gray-primary) !important;
  border-color: var(--gray-primary) !important;
  color: #fff !important;
}

.btn-secondary:hover {
  background-color: var(--gray-dark) !important;
  border-color: var(--gray-dark) !important;
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

/* Text Colors */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-info {
  color: var(--accent-color) !important;
}

.text-danger {
  color: #ef4444 !important;
}

.text-success {
  color: #10b981 !important;
}

/* Links */
a {
  color: var(--primary-color) !important;
}

a:hover {
  color: var(--primary-hover) !important;
  text-decoration: none !important;
}

/* Navigation Hover Effects */
.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%) !important;
}

.navbar-nav .nav-link.active::after {
  background: var(--primary-color) !important;
}

/* Dropdown Items */
.modern-dropdown .dropdown-item:hover {
  color: var(--primary-color) !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

.modern-dropdown .dropdown-item:hover strong {
  color: var(--primary-color) !important;
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25) !important;
}

/* Language Selector */
.language-selector-simple .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232563eb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

.language-selector-simple .form-select:hover {
  border-color: var(--primary-color) !important;
}

.language-selector-simple .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
}

/* Badges and Gradients */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%) !important;
}

/* Cards and Shadows */
.card {
  border: 1px solid var(--gray-light) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

/* Feature Icons */
.feature-icon {
  color: var(--primary-color) !important;
  background: rgba(37, 99, 235, 0.1) !important;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
  color: #fff !important;
}

/* Progress Bars */
.progress-bar,
.scroll-progress {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Floating Action Button */
.floating-action-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
}

.floating-action-button:hover {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4) !important;
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%) !important;
}

/* Footer Adjustments */
.footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  color: var(--gray-secondary) !important;
}

.footer a {
  color: var(--gray-secondary) !important;
}

.footer a:hover {
  color: var(--secondary-color) !important;
}

/* Override green-overrides.css */
.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

/* Hero Section Gradients */
.hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
}

/* Stats Section */
.stat-icon {
  color: var(--primary-color) !important;
}

/* Modern Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Chart Colors (for dashboard mockup) */
polyline[stroke] {
  stroke: var(--primary-color) !important;
}

stop[style*="stop-color:#F22F46"],
stop[style*="stop-color:#2ECC71"] {
  stop-color: var(--primary-color) !important;
}

/* Override any remaining green/red colors */
[style*="#2ECC71"] {
  color: var(--primary-color) !important;
}

[style*="background: #2ECC71"],
[style*="background-color: #2ECC71"] {
  background-color: var(--primary-color) !important;
}

/* Scrollbar */
::-webkit-scrollbar-thumb {
  background: var(--primary-color) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover) !important;
}

/* Active states */
.active,
.dropdown-item.active {
  background-color: var(--primary-color) !important;
  color: white !important;
}