// filepath: c:\xampp\htdocs\css\dashboard.css
:root{
  --app-primary:#0d6efd;
  --app-bg:#f8f9fa;
}

html, body {
  height: 100%;
  background: var(--app-bg);
}

.app-header{
  background: white;
}

.avatar{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--app-primary), #66a3ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  user-select: none;
}

.module-card{
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: .75rem;
  border: 1px solid rgba(0,0,0,.08);
  background: white;
  text-decoration: none;
  color: inherit;
  transition: transform .08s ease, box-shadow .08s ease, border-color .2s ease;
}
.module-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  border-color: rgba(13,110,253,.35);
}

.module-icon{
  width: 40px;
  height: 40px;
  border-radius: .5rem;
  background: #eef4ff;
  color: var(--app-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.module-text{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.module-title{
  font-weight: 600;
}
.module-desc{
  font-size: .9rem;
  color: #6c757d;
}

.loading-overlay{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.6);
  display: grid;
  place-items: center;
  z-index: 1050;
}

@media (hover: none){
  .module-card:hover{
    transform: none;
  }
}