.dashboard-main-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(142, 230, 234, 0.09);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  padding: 30px;
  /* final increase to make dashboard taller */
  padding-top: 120px !important;
  min-height: 300px;
  /* pull the dashboard further up so visuals overlap it more */
  margin-top: -120px;
  z-index: 0;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.25);
  outline: 4px solid rgba(110, 184, 187, 0.15);
  outline-offset: 4px;
}

.dashboard-main-card .stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  flex-wrap: wrap;
}

.visuals-row {
  position: relative;
  z-index: 10;
  padding: 0 30px;
  margin-top: 60px;
}

@media (max-width: 992px) {
  .dashboard-main-card {
    padding-top: 150px;
    margin-top: -60px;
    min-height: 280px;
  }

  .visuals-row {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .dashboard-main-card {
    padding-top: 100px;
    margin-top: 0px;
    min-height: 220px;
  }

  .visuals-row {
    margin-top: 10px;
  }
}

/* Visual cards styling moved from inline attributes */
.visual-card {
  flex: 1;
  min-width: 350px;
  position: relative;
  background: transparent;
  /* removed glass background */
  border-radius: 16px;
  padding: 0;
  overflow: visible;
}

.visual-card.ai-card {
  padding: 0;
  background: transparent;
}

.visual-card.human-card {
  background: transparent;
}

.badge-pill {
  position: absolute;
  top: -60px;
  z-index: 10;
}

.badge-pill.ai-pill {
  left: 20px;
}

.badge-pill.human-pill {
  right: 40px;
}

.badge-pill>span {
  padding: 4px 8px;
  border-radius: 24px;
  font-size: 16px;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.badge-pill.ai-pill>span {
  background: transparent;
  box-shadow: none;
}

.badge-pill.human-pill>span {
  position: relative;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 50px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  font-size: 16px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: auto;
  min-width: fit-content;
}

/* Gradient border effect for human pill - DISABLED */
.badge-pill.human-pill>span::before {
  display: none !important;
}

/* Inner background removed - using main background instead */
.badge-pill.human-pill>span::after {
  display: none !important;
}


/* Ensure text and icon are above pseudo-elements */
.badge-pill.human-pill>span>* {
  position: relative;
  z-index: 1;
}

.badge-pill.human-pill>span>svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.card-content.ai-content {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
  min-height: 300px;
  background: radial-gradient(108.63% 58.98% at 50% 50%, rgba(18, 136, 254, 0.5) 0%, rgba(18, 136, 254, 0.204) 43.27%, rgba(18, 136, 254, 0) 63.94%, rgba(0, 36, 72, 0) 100%);
  backdrop-filter: blur(55.1px);
  -webkit-backdrop-filter: blur(55.1px);
}

.card-content.ai-content img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ziva-tag {
  position: absolute;
  bottom: 120px;
  right: 150px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
}

.sparkle-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.human-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 0px;
  align-items: start;
}

.human-avatar {
  position: relative;
  background: transparent;
  padding: 0;
  border-radius: 12px;
  box-shadow: none;
  border: none;
}

.human-avatar img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none !important;
  outline: none !important;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
}

/* Fixed size for Expert Human Interviewer cards (keep position) */
.visual-card.human-card .human-grid .human-avatar {
  width: 172.3075408935547px;
  height: 169.81268310546875px;
  border-radius: 15.08px;
}

.visual-card.human-card .human-grid .human-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 15.08px;
  object-fit: cover;
}

.human-avatar .exp-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 9px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
}

.human-avatar .faang-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 9px;
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Nudge first human avatar image down so the face is visible */
.human-grid .human-avatar:first-child img {
  object-position: center 30%;
}

@media (max-width: 992px) {
  .card-content.ai-content {
    min-height: 260px;
  }
}

@media (max-width: 576px) {
  .card-content.ai-content {
    min-height: 180px;
  }
}

/* Stats bar SVG styling */
.dashboard-main-card .stats-bar .stat-item svg {
  background: transparent;
  stroke: rgba(255, 255, 255, 1);
  opacity: 1 !important;
  margin-right: 8px !important;
}

.dashboard-main-card .stats-bar .stat-item svg path,
.dashboard-main-card .stats-bar .stat-item svg circle,
.dashboard-main-card .stats-bar .stat-item svg polyline {
  stroke: rgba(255, 255, 255, 1);
}

@media (max-width: 991px) {
  .visual-card.human-card .human-grid .human-avatar {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
  }
}