/* ========== Sedcard Skeleton Styles ========== */

.gsss-skeleton-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.reward-box.skeleton {
    position: relative;
    width: 220px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* Shimmer-Overlay */
.reward-box.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -200px;
    height: 100%;
    width: 200px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    animation: shimmer 1.4s infinite;
    z-index: 10;
}

/* Keyframes (bleiben gleich) */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-20deg);
        opacity: 0.15;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(100%) skewX(-20deg);
        opacity: 0.15;
    }
}

/* Kreis für Bild */
.skeleton-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #777;
    margin: 20px auto 24px; /* ↑ vorher: 10px unten → jetzt: 24px */
}


/* Zeilen-Platzhalter */
.skeleton-line {
    height: 14px;
    background: #777; /* heller als #666 */
    border-radius: 8px;
    margin: 8px 0;      /* statt auto = nicht zentriert */
    width: 70%;
    margin-left: 0;     /* linksbündig */
}


/* ========== Sedcard Live Cards ========== */
.gsss-sedcard-wrapper {
    display: none;
    opacity: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(30px);
}

.gsss-sedcard-wrapper.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.gsss-sedcard-card {
    position: relative;
    width: 220px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.2s ease;
    overflow: hidden;
    text-align: left;
}

.gsss-sedcard-card:hover {
    transform: scale(1.05);
}

.gsss-sedcard-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(0,53,77,0.025), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.gsss-sedcard-card img.avatar-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #ffef42 !important;
    background-color: #222 !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
    margin: 20px auto 10px !important;
    box-shadow: 0 0 6px rgba(255, 239, 66, 0.2) !important;
    z-index: 2;
    position: relative !important;
}

.gsss-sedcard-card h3,
.gsss-sedcard-card p,
.gsss-sedcard-card .note {
    padding-left: 10px;
    padding-right: 10px;
}

.gsss-sedcard-card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    z-index: 3;
}

.gsss-sedcard-card p {
    font-size: 14px;
    color: #ddd;
    margin: 5px 0 0;
    position: relative;
    z-index: 3;
}

.gsss-sedcard-card .note {
    margin-top: 12px;
    font-size: 13px;
    color: #aaa;
    position: relative;
    z-index: 3;
    font-style: italic;
}

/* ========== Passwortformular ========== */
.gsss-password-form {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    text-align: center;
    color: #fff !important;
    font-family: inherit;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.gsss-password-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.gsss-password-form h2 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #ffef42 !important;
}

.gsss-password-form p {
    font-size: 15px;
    color: #ddd !important;
    margin-bottom: 20px;
}

.gsss-password-form input[type="password"] {
    padding: 12px 15px;
    width: 100%;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    margin-bottom: 15px;
}

.gsss-password-form button {
    padding: 10px 25px;
    background: #00354d !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.gsss-password-form button:hover {
    transform: scale(1.05);
}

.hidden {
    opacity: 0 !important;
}

/* ========== Header ========== */
.gsss-sedcard-header {
    max-width: 900px;
    margin: 60px auto 20px;
    background: rgba(255,255,255,0.08);
    padding: 30px 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.gsss-sedcard-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.gsss-sedcard-header h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffef42;
    font-family: var(--e-global-typography-primary-font-family, 'Arial');
}

/* ========== Mobile Fixes ========== */
@media (max-width: 480px) {
    .gsss-sedcard-card,
    .reward-box.skeleton {
        width: 90% !important;
    }

    .skeleton-line {
        margin-left: 10px !important;
        width: 85% !important;
    }

    .gsss-sedcard-card h3,
    .gsss-sedcard-card p,
    .gsss-sedcard-card .note {
        padding-left: 10px !important;
        font-size: 13px !important;
    }
}


/* Wrapper für alle Cards */
.gsss-rating-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: flex-start;
  margin-top: 3rem;
  overflow: visible;
}

/* Einzelne Mitarbeiter-Card */
.gsss-sedcard-card {
  flex: 0 1 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: visible;
}

.gsss-sedcard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Avatar */
.gsss-sedcard-card .avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 3px solid #ffef42;
}

/* Titel & Überschriften */
.gsss-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.gsss-wrapper textarea {
  margin-top: 2rem;
}

/* Bewertung Dropdowns */
.gsss-sedcard-card select,
#gesamtbewertung {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  margin-top: 1rem;
  z-index: 10;
  position: relative;
  background-color: white;
  color: #333;
}

/* Kommentarbox Styling */
.gsss-rating-form textarea {
  width: 100%;
  max-width: 700px;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-top: 0.5rem;
  background: #fff;
  font-size: 1rem;
  color: #333;
}

/* Submit Button */
.gsss-rating-form button[type="submit"] {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: #ffef42;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #00354d;
}

.gsss-rating-form button[type="submit"]:hover {
  background-color: #ffe924;
  transform: scale(1.05);
}

/* Erfolgsbox */
.success-box {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background-color: #dfffe0;
  border: 2px solid #54c17e;
  border-radius: 8px;
  color: #205d35;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

/* Star Rating fix – sorgt dafür, dass Sterne nicht überlappen */
.star-rating {
  position: relative;
  z-index: 20 !important;
  margin-top: 0.5rem;
}

/* Optional: Platzhalter-Avatar zentrieren */
.avatar-img[src*="placeholder.jpg"] {
  filter: grayscale(100%) opacity(0.6);
}


.gsss-rating-form strong {
  display: block;
  margin-bottom: 1rem; /* Oder mehr, z. B. 1.5rem */
}

.gsss-rating-form label[for="kommentar"] {
  display: block;
  margin-top: 2rem;
  font-weight: bold;
  color: #fff;
}

#kommentar {
  display: block;
  width: 100%;
  max-width: 700px;
}


.gsss-rating-box {
  font-size: 18px;
  color: #fbbf24; /* goldgelb */
  background: #f9fafb;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 500;
}


