/* assets/css/user-dashboard-polaroid.css */

/* Grid: zwei Spalten mit dichterem Abstand */
.sp-user-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  justify-items: center;
  margin: 0 auto;
  max-width: 1200px;
}

/* Polaroid-Karte */
.sp-user-card {
  background: #fff;
  padding: 0;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  font-family: sans-serif;
}

/* Bild ohne Rahmen, responsiv */
.sp-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Weißer Polaroid-Rahmen unten für Text */
.sp-card-label {
  background: #fff;
  padding: 0.75rem;
  text-align: center;
  border-top: 1px solid #eee;
}

/* Titel und Datum in Grau */
.sp-card-title,
.sp-card-due {
  color: #666;
  margin: 0.25rem 0;
}

/* Link-Farbe grau, kein Rot */
.sp-user-card a {
  color: inherit;
  text-decoration: none;
}
.sp-user-card a:hover {
  color: #444;
}
.sp-user-card {
  /* bestehende Polaroid-Styles... */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-user-card:hover {
  transform: translateY(-10px);
  /* optional: leichter Schatten beim Hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Google Font für eleganteres Titel-Lettering */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

/* Titel im Polaroid‐Grid zentrieren und mit neuer Schrift */
.sp-card-title {
  font-family: 'Roboto', serif;
  font-weight: 700;
  font-size: 1.7em;
  text-align: center;
  color: #333; /* Dunkles Grau für guten Kontrast */
  margin: 0.5em 0 0;
}
/* Fälligkeits-Datum in Grau, zentriert unter dem Titel */
.sp-card-due {
  font-family: 'Playfair Display', serif;
  font-size: 1em;
  font-style: italic;
  text-align: center;
  color: #666;         /* mittleres Grau */
  margin: 0.3em 0 0.8em;
}
/* Abschließend abge­schlossene Trainings grün und großbuchstabig darstellen */
.sp-card-completed {
  color: green !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  display: inline-block;
}