/* Tegel-dashboard voor vervoerders en planners */

.home-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.home-hero {
  margin-bottom: 24px;
}

.home-title {
  font-size: 1.9rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
}

.home-subtitle {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.tile {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 18px 18px;
  border-radius: 18px;
  text-decoration: none;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  border: 1px solid rgba(148,163,184,0.35);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tile:hover::before {
  opacity: 1;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.6);
  border-color: rgba(59,130,246,0.9);
}

.tile-icon {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-right: 14px;
  background: radial-gradient(circle at 30% 0%, rgba(59,130,246,0.9), rgba(56,189,248,0.4));
  color: #f9fafb;
}

.tile-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.tile-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0 0 4px;
}

.tile-text {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0;
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 16px;
}

.user-label {
  font-size: 0.9rem;
  color: #d1d5db;
  max-width: 220px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.btn-ghost-small {
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(148,163,184,0.6);
  background: transparent;
  color: #e5e7eb;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-ghost-small:hover {
  background: rgba(15,23,42,0.9);
  border-color: rgba(248,250,252,0.85);
  color: #f9fafb;
}

/* Banner onder de tegels met Van Loon beeld */
.brand-banner {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.brand-banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.6);
}

/* Kleinere schermen */
@media (max-width: 640px) {
  .home-page {
    padding-inline: 12px;
  }
  .home-title {
    font-size: 1.5rem;
  }
  .tile {
    padding: 14px 14px;
  }
  .tile-icon {
    flex-basis: 52px;
    height: 52px;
    font-size: 1.8rem;
  }
}


/* === TEST sectie styling === */
.tiles-section-title{
  margin: 18px 0 10px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.tile.tile-test{
  border: 1px solid rgba(255, 80, 80, .7);
  box-shadow: 0 0 0 1px rgba(255, 80, 80, .2) inset;
}
.tile-badge{
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 80, .8);
  color: rgba(255, 180, 180, 1);
  background: rgba(255, 80, 80, .12);
  vertical-align: middle;
}

/* Wrapper for LIVE + TEST sections (must NOT be a grid) */
.portal-sections{
  display:block;
}
