:root {
  --iet-primary: #1e3a8a;
  --iet-primary-dark: #14285e;
  --iet-accent: #f59e0b;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background-color: #f7f8fb;
}

/* Navbar */
.iconnect-navbar {
  background: linear-gradient(90deg, var(--iet-primary-dark), var(--iet-primary));
}
.iconnect-navbar .container {
  gap: 1rem;
}
.iconnect-navbar .navbar-brand {
  font-weight: 700;
  white-space: normal;
  min-width: 0;
  max-width: calc(100% - 160px);
}
.navbar-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  padding: 0;
  flex: 0 0 auto;
}
.navbar-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand-name {
  font-size: 1.25rem;
}
.navbar-welcome {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}
.navbar-subtitle {
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.brand-accent {
  color: var(--iet-accent);
}

/* Section title */
.section-title {
  font-weight: 700;
  color: var(--iet-primary-dark);
  border-left: 5px solid var(--iet-accent);
  padding-left: 0.75rem;
}

/* Dashboard cards */
.module-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  display: block;
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  color: inherit;
}
.module-card .card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}
.module-card .card-title {
  font-weight: 700;
  color: #1f2937;
}
.module-card .card-text {
  color: #6b7280;
  font-size: 0.9rem;
}
.module-card .card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--iet-primary);
}

/* Skeleton */
.skeleton-card .card {
  border-radius: 14px;
  border: none;
}

/* Footer */
.iconnect-footer {
  background-color: var(--iet-primary-dark);
  color: #cbd5e1;
}

@media (max-width: 991.98px) {
  .iconnect-navbar .navbar-brand {
    max-width: calc(100% - 70px);
  }
  .navbar-logo {
    width: 50px;
    height: 50px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .navbar-welcome {
    font-size: 1.1rem;
  }
  .navbar-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .iconnect-navbar .navbar-brand {
    gap: 0.5rem !important;
  }
  .navbar-logo {
    width: 43px;
    height: 43px;
  }
  .navbar-welcome {
    font-size: 0.95rem;
  }
  .navbar-subtitle {
    display: none;
  }
}
