/* ════════════════════════════════════════════════
   IT4You — Custom Tide Theme
   Matches it-4you.com branding
   ═══════════════════════════════════════════════ */

:root {
  --it4u-blue: #2563eb;
  --it4u-cyan: #0ea5e9;
  --it4u-green: #10b981;
  --it4u-gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  
  /* Override Tabler primary */
  --tblr-primary: #2563eb;
  --tblr-primary-rgb: 37, 99, 235;
  --tblr-primary-fg: #ffffff;
}

/* === BUTTONS === */
.btn-primary,
.btn.btn-primary {
  background: var(--it4u-gradient) !important;
  border-color: var(--it4u-blue) !important;
  color: white !important;
  font-weight: 500 !important;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* === CARDS HOVER === */
.card-link {
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15) !important;
  border-color: var(--it4u-blue) !important;
}

/* === AVATAR ICONS === */
.avatar.bg-primary { background: var(--it4u-blue) !important; }
.avatar.bg-blue    { background: var(--it4u-blue) !important; }
.avatar.bg-cyan    { background: var(--it4u-cyan) !important; }

/* === CARD STATUS BARS === */
.card-status-top.bg-primary {
  background: var(--it4u-gradient) !important;
}

/* === SHOWCASE BANNER === */
.card .card-status-top {
  height: 4px;
}

/* === IT4YOU TRUST BADGES === */
.it4u-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-size: 13px;
  margin-top: 8px;
}

.it4u-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.95);
}

.it4u-badges span::before {
  content: "●";
  color: #4ade80;
  font-size: 10px;
}

/* === NAV LINKS === */
.nav-link.active {
  color: var(--it4u-blue) !important;
  border-bottom: 2px solid var(--it4u-blue) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--it4u-blue) !important;
}

/* === RTL ARABIC SUPPORT === */
[dir="rtl"] body, [lang="ar"] body, [lang="ar_SA"] body {
  font-family: "Tajawal", "Cairo", "IBM Plex Arabic", -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* === FOSSBILLING FOOTER REBRAND === */
footer .text-center small,
.footer-transparent {
  font-size: 12px !important;
  opacity: 0.5;
}

/* Optional: hide "Powered by FOSSBilling" link
   Uncomment if you want to hide it (legal risk - Apache license requires attribution) */
/*
footer a[href*="fossbilling"],
.footer a[href*="fossbilling"] {
  display: none !important;
}
*/

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .h1.m-0 { font-size: 1.5rem !important; }
  .it4u-badges { flex-direction: column; gap: 8px; }
}
