﻿/* --- Header Cliente (azul) --- */
.header-cliente {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  padding: 0 16px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(30,64,175,.2);
}
.header-cliente .logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
}
.header-cliente .logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-cliente .logo-icon .material-icons {
  font-size: 16px;
  color: #fff;
}

.header-cliente .nav-item-cliente {
  color: rgba(255,255,255,.75);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-cliente .nav-item-cliente:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.header-cliente .nav-item-cliente.activo {
  color: #fff;
  background: rgba(255,255,255,.18);
}
.header-cliente .nav-item-cliente .material-icons {
  font-size: 17px;
}

.header-cliente .avatar-cliente {
  text-decoration: none;
}
.header-cliente .avatar-cliente img,
.header-cliente .avatar-cliente > span {
  transition: box-shadow .2s ease;
}
.header-cliente .avatar-cliente:hover img,
.header-cliente .avatar-cliente:hover > span {
  box-shadow: 0 0 0 2px rgba(255,255,255,.4);
}

.header-cliente .btn-menu-mobile {
  color: rgba(255,255,255,.8);
  background: none;
  border: none;
  padding: 4px;
}
.header-cliente .btn-menu-mobile:hover {
  color: #fff;
}

/* Mobile offcanvas for client */
.offcanvas-cliente .offcanvas-header {
  background: #1e40af;
  color: #fff;
}
.offcanvas-cliente .mobile-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #1e293b;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f1f4f8;
  transition: background .15s;
}
.offcanvas-cliente .mobile-item:hover {
  background: #f1f5ff;
}
.offcanvas-cliente .mobile-item.activo {
  background: #eef2ff;
  color: #1e40af;
  font-weight: 700;
}
.offcanvas-cliente .mobile-item .material-icons {
  font-size: 20px;
  color: #0b5fd0;
}

.btn-notif-cliente {
  color: rgba(255,255,255,.85);
  transition: color .15s;
  display: flex;
  align-items: center;
}
.btn-notif-cliente:hover { color: #fff; }
.btn-notif-cliente .material-icons { font-size: 22px; }

.notif-badge-cliente {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  animation: notif-pulse 2s ease-in-out infinite;
}
@keyframes notif-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.notif-dot-cliente {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: notif-pulse 2s ease-in-out infinite;
}
