/*
 * Bileşen: Skeleton Loader
 * Amaç: FitterTool sonuçları gibi dinamik içerikler için bekleme animasyonu sağlar.
 */

@keyframes skeleton-pulse {
  0% { background-color: var(--color-background-soft); }
  50% { background-color: var(--color-border-light); }
  100% { background-color: var(--color-background-soft); }
}

/* --- Genel Konteyner --- */
.bfwt-skeleton-loader {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

/* --- Sonuç Kartı Skeleton --- */
.bfwt-skeleton-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background-color: var(--color-background);
    border-radius: var(--border-radius-base);
    border: 1px solid var(--color-border-light);
}

.bfwt-skeleton-card__media {
    width: 120px;
    height: 90px; /* 4:3 aspect ratio */
    flex-shrink: 0;
    border-radius: var(--border-radius-small);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.bfwt-skeleton-card__content {
    flex-grow: 1;
}

.bfwt-skeleton-card__line {
    height: 16px;
    border-radius: var(--border-radius-small);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.bfwt-skeleton-card__line--title {
    width: 60%;
    height: 20px;
    margin-bottom: 12px;
}

.bfwt-skeleton-card__line--text1 {
    width: 80%;
    margin-bottom: 8px;
}

.bfwt-skeleton-card__line--text2 {
    width: 70%;
}

/* --- YENİ EKLENEN BÖLÜM: Quiz Başlangıç Ekranı Skeleton --- */
.bfwt-skeleton-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
}

.bfwt-skeleton-intro__title {
    width: 60%;
    max-width: 400px;
    height: 36px;
    border-radius: var(--border-radius-small);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.bfwt-skeleton-intro__text {
    width: 90%;
    max-width: 500px;
    height: 16px;
    border-radius: var(--border-radius-small);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.bfwt-skeleton-intro__text:last-of-type {
    width: 80%;
}

.bfwt-skeleton-intro__button {
    width: 100%;
    max-width: 200px;
    height: 50px;
    margin-top: 1rem;
    border-radius: var(--border-radius-base);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}