/*--------------------------------------------------
 Austin Explorer – Pastel Dashboard Theme
 Inspired by reference UI (pastel medical dashboard)
 Author: ChatGPT
---------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&display=swap");

:root {
  /* Base palette */
  --bg-cream: #f8f7ef;
  --text-primary: #1e1e1e;
  --text-secondary: #5e5e5e;

  /* Pastel surfaces */
  --surface-white: #ffffff;
  --surface-yellow: #fff5b7;
  --surface-pink: #ffd8e7;
  --surface-blue: #d8e6ff;
  --surface-green: #dff6e0;

  /* Accents */
  --accent-dark: #111111;
  --accent-light: #ffffff;
  --accent-border: rgba(0, 0, 0, 0.08);

  /* Radii & shadow */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 9999px;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Reset / base -----------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-cream);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: 0.75rem;
}

/* Header -----------------------------------------*/
header {
  background: var(--surface-yellow);
  padding: 2.5rem 0 0.25rem;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

h1 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

.subtitle {
  text-align: center;
  opacity: 0.8;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* Stats chips ------------------------------------*/
.stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat {
  background: var(--surface-white);
  padding: 0.65rem 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--accent-border);
  text-align: center;
  min-width: 110px;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
}

/* Tabs -------------------------------------------*/
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem;
}

.tab {
  cursor: pointer;
  padding: 0.55rem 1.4rem;
  background: var(--surface-white);
  border-radius: var(--radius-pill);
  font-weight: 500;
  border: 1px solid var(--accent-border);
  transition: all 0.25s ease;
}

.tab:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.tab.active {
  background: var(--accent-dark);
  color: var(--accent-light);
}

/* Content sections (tab panes) -------------------*/
.content {
  display: none;
}

.content.active {
  display: block;
}

/* Trip grid / cards ------------------------------*/
.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.trip-card {
  position: relative;
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Completed state (soft green) */
.trip-card.completed {
  background: var(--surface-green);
  border-color: rgba(33, 150, 83, 0.3);
}

.trip-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.trip-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trip-distance {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Stops ------------------------------------------*/
.trip-stops {
  margin: 1rem 0;
}

.stop {
  padding-block: 0.45rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stop:last-child {
  border-bottom: none;
}

.stop-name {
  font-weight: 600;
}

.stop-activity {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Footer / buttons -------------------------------*/
.trip-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
}

.mark-complete-btn,
.complete-btn {
  cursor: pointer;
  padding: 0.55rem 1.25rem;
  border: none;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease;
}

.mark-complete-btn {
  background: var(--accent-dark);
  color: var(--accent-light);
}

.mark-complete-btn:hover {
  background: #000;
}

.complete-btn {
  background: #22a86a;
  color: var(--accent-light);
}

.complete-btn:hover {
  background: #1b8956;
}

/* Bookmark & action icons ------------------------*/
button[title] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
  transition: transform 0.15s ease;
}

button[title]:hover {
  transform: scale(1.15);
}

/* Floating action button -------------------------*/
.add-trip-btn {
  position: fixed;
  inset: auto 2.25rem 2.25rem auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: var(--accent-light);
  border: none;
  font-size: 2.25rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.add-trip-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Modal overlay & sheet --------------------------*/
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.modal-content {
  position: relative;
  background: var(--surface-white);
  width: 92%;
  max-width: 520px;
  max-height: 85vh;
  margin: 60px auto;
  padding: 2rem 2rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Webkit scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-secondary);
}

/* Forms ------------------------------------------*/
.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  background: var(--surface-white);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.save-trip-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--accent-dark);
  color: var(--accent-light);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.save-trip-btn:hover {
  background: #000;
}

/* Filter chips -----------------------------------*/
.filter-section {
  background: transparent;
  /* removed pink backdrop */
  padding: 0;
  /* align visually with stats chips */
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0;
  box-shadow: none;
}

.location-filters {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.location-label {
  font-weight: 600;
}

.location-btn {
  cursor: pointer;
  padding: 0.45rem 1.4rem;
  border: 1px solid var(--accent-border);
  background: var(--surface-white);
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: all 0.25s ease;
}

.location-btn:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.location-filters {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.location-label {
  font-weight: 600;
}

.location-btn {
  cursor: pointer;
  padding: 0.45rem 1.4rem;
  border: 1px solid var(--accent-border);
  background: var(--surface-white);
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: all 0.25s ease;
}

.location-btn:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.location-btn.active {
  background: var(--accent-dark);
  color: var(--accent-light);
}

/* Responsive tweaks ------------------------------*/
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .trip-grid {
    grid-template-columns: 1fr;
  }

  .add-trip-btn {
    inset: auto 1.5rem 1.5rem auto;
  }
}

/* Dynamic stop form styles */

.stop {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.stop:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stop-checkbox {
  margin-top: 0.25rem;
  cursor: pointer;
  transform: scale(1.2);
}

.stop-content {
  flex: 1;
  min-width: 0;
}

.stop.completed .stop-content {
  opacity: 0.7;
}

.stop.completed .stop-name,
.stop.completed .stop-activity {
  text-decoration: line-through;
}

.trip-card {
  position: relative;
  overflow: hidden;
}

.trip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(76, 175, 80, 0.15) 0%,
      rgba(76, 175, 80, 0.15) var(--progress-width, 0%),
      transparent var(--progress-width, 0%));
  transition: all 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.trip-card>* {
  position: relative;
  z-index: 2;
}

.stop-input-group {
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--surface-white);
  position: relative;
}

.stop-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.stop-input-row:last-child {
  margin-bottom: 0;
}

.stop-input-field {
  flex: 1;
}

.stop-input-field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stop-input-field input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--surface-white);
}

.stop-input-field input:focus {
  border-color: var(--accent-dark);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.remove-stop-btn {
  background: #e74c3c !important;
  color: white !important;
  border: none !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  margin-top: 1.5rem !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10 !important;
}

.remove-stop-btn:hover {
  background: #c0392b !important;
  transform: scale(1.1) !important;
}

.add-stop-btn {
  background: #2ecc71 !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  margin-top: 1rem !important;
  transition: all 0.2s ease !important;
  width: auto !important;
}

.add-stop-btn:hover {
  background: #27ae60 !important;
  transform: translateY(-1px) !important;
}

.stops-container {
  margin-bottom: 1rem;
}

.stop-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}

.stop-text {
  flex: 1;
  min-width: 0;
}

.stop-link {
  margin-top: 0 !important;
  flex-shrink: 0;
  align-self: flex-start;
}

.stop-activity-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stop-link {
  margin-top: 0 !important;
}

/* Enhanced stop display in trip cards */
.stop-link a {
  display: inline-block !important;
  padding: 0.2rem 0.6rem !important;
  background: rgba(52, 152, 219, 0.2) !important;
  color: #3498db !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  font-size: 0.8rem !important;
  transition: all 0.2s ease !important;
  margin-top: 0 !important;
  white-space: nowrap;
}

.stop-link a:hover {
  background: rgba(52, 152, 219, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* Tooltip styles */
.label-with-tooltip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    cursor: help;
    transition: all 0.2s ease;
}

.tooltip-trigger:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.tooltip-container:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2c3e50;
}

.tooltip-text {
    font-size: 13px;
    margin-bottom: 0.5rem;
    max-width: 800px;
    white-space: normal;
}

.tooltip-gif-container {
    text-align: center;
}

.tooltip-gif {
    max-width: 800px;
    max-height: 450px;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

/* Badge System CSS - Add this to your existing styles.css */

/* Badge Notification Popup */
.badge-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 350px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.badge-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.badge-notification-content {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  gap: 1rem;
}

.badge-notification-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  animation: bounce 0.6s ease-in-out;
}

.badge-notification-text {
  flex: 1;
  min-width: 0;
}

.badge-notification-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.badge-notification-badge-name {
  font-size: 0.95rem;
  opacity: 0.9;
}

.badge-notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-notification-close:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

/* Badges Page */
.badges-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--accent-border);
}

.badges-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.badges-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Badge Categories */
.badge-categories {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.badge-category {
  border-radius: var(--radius-lg);
  padding-bottom: 2rem;
}

.badge-category h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-align: center;
}

/* Badge Grid */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* Badge Cards */
.badge-card {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  background: var(--surface-white);
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-border);
  transition: all 0.3s ease;
  cursor: pointer;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.badge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.badge-card.earned {
  background: var(--surface-green);
  border-color: rgba(33, 150, 83, 0.4);
  box-shadow: 0 4px 15px rgba(33, 150, 83, 0.2);
}

.badge-card.earnable {
  background: var(--surface-white);
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
}

.badge-card.locked {
  background: var(--surface-white);
  border-color: #e9ecef;
}

.badge-icon {
  font-size: 3rem;
  flex-shrink: 0;
  text-align: center;
  width: 60px;
}

.badge-info {
  flex: 1;
  min-width: 0;
}

.badge-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.badge-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.badge-requirement {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Badge Progress Bar */
.badge-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.badge-progress-fill {
  height: 100%;
  transition: width 0.4s ease;
  border-radius: 3px;
}

.badge-progress-fill.complete {
  background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.badge-progress-fill.in-progress {
  background: linear-gradient(90deg, #f39c12, #e67e22);
}

.badge-progress-fill.not-started {
  background: #bdc3c7;
  width: 0 !important;
}

.badge-progress-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: right;
}

.badge-earned-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #27ae60;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Badge Modal */
.badge-modal-content {
  max-width: 500px;
  text-align: center;
}

.badge-modal-header {
  margin-bottom: 2rem;
}

.badge-modal-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.badge-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.badge-modal-status {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}

.badge-modal-status.earned {
  background: var(--surface-green);
  color: #27ae60;
  border: 1px solid rgba(33, 150, 83, 0.3);
}

.badge-modal-status.not-earned {
  background: #f8f9fa;
  color: var(--text-secondary);
  border: 1px solid #e9ecef;
}

.badge-modal-body {
  text-align: left;
}

.badge-modal-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.badge-modal-progress {
  margin-bottom: 1.5rem;
}

.badge-modal-progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.badge-modal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 6px;
  transition: width 0.4s ease;
}

.badge-modal-progress-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.badge-modal-requirements {
  background: var(--surface-blue);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.badge-modal-requirements strong {
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .badge-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .badge-notification.show {
    transform: translateY(0);
  }
  
  .badges-header {
    padding: 1.5rem;
  }
  
  .badges-header h2 {
    font-size: 1.75rem;
  }
  
  .badge-category {
    padding: 1.5rem;
  }
  
  .badge-grid {
    grid-template-columns: 1fr;
  }
  
  .badge-card {
    padding: 1rem;
  }
  
  .badge-icon {
    font-size: 2.5rem;
    width: 50px;
  }
  
  .badge-modal-content {
    margin: 20px auto;
    padding: 1.5rem;
  }
  
  .badge-modal-icon {
    font-size: 3rem;
  }
}