/* === Custom Card with Panel Style === */
.card {
  background: linear-gradient(135deg, #1e2a3a, #253344);
  border: 2px solid #3a4a5c;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Hover Effect */
.card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 40px rgba(0, 0, 0, 0.4);
}

/* Card Header */
.card-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px 20px 0 0;
}

/* Card Footer */
.card-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 20px 20px;
}

/* Card Body */
.card-body {
  padding: 1.5rem;
}

/* === Dark Theme Support === */
html.dark-theme .card {
  background: linear-gradient(135deg, #192431, #202e3e);
  border-color: #324150;
}

html.dark-theme .card-header,
html.dark-theme .card-footer {
  border-color: rgba(255, 255, 255, 0.1);
}
