/* Snapshot Component */
.snapshot {
    background-color: var(--color-pure-white);
    border: 1px solid rgba(205, 210, 228, 0.66);
    border-radius: 24px;
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    height: 220px;
    position: relative;
}

.snapshot__title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: normal;
    color: var(--color-blu);
    margin: 0;
}

.snapshot__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px 0;
    height: 100%;
}

.snapshot__text_container {
    overflow: hidden;
    position: relative;
    max-height: 98px;
}

.snapshot__text_container p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: var(--color-blu);
    margin: 0;
}



.snapshot__text_container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.snapshot__text_container--no-gradient::after {
    display: none;
}

.snapshot__text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: var(--color-blu);
    margin: 0;
}

.snapshot__text strong {
    font-weight: 700;
}

/* Brand Rating Section */
.snapshot__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 2px;
    margin-top: auto;
}

.snapshot__rating-badge {
    width: 50px;
    height: 50px;
    border-radius: 1000px;
    background-color: var(--color-blu);
    border: 1px solid #2b3d5c;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.snapshot__rating-badge-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: normal;
}

.snapshot__rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.snapshot__rating-value {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--color-blu);
    line-height: normal;
}

.snapshot__star {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snapshot__star svg {
    width: 100%;
    height: 100%;
}

/* Star fill states */
.snapshot__star--filled svg .star-fill {
    fill: #F5C341;
}

/* Partial star fill is handled by inline SVG gradient in snapshot.js */

.snapshot__star--empty svg .star-fill {
    fill: #CDD4DF;
}

/* More Button */
.snapshot__more-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

.snapshot__more-btn svg,
.snapshot__more-btn img {
    width: 27px;
    height: 27px;
}

/* Focus states */
.snapshot__more-btn:focus {
    outline: 2px solid var(--color-blu);
    outline-offset: 2px;
    border-radius: 50%;
}

.snapshot__more-btn:focus:not(:focus-visible) {
    outline: none;
}

/* No Data State */
.snapshot__text_container,
.snapshot__rating {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.snapshot.is-no-data .snapshot__text_container,
.snapshot.is-no-data .snapshot__rating {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.snapshot__no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: calc(100% - 15px);
    width: 100%;
    animation: snapshot-no-data-appear 0.4s ease-out forwards;
}

.snapshot__no-data-icon {
    color: #9CA3AF;
    opacity: 0;
    transform: scale(0.8);
    animation: snapshot-no-data-icon-appear 0.4s ease-out 0.1s forwards;
}

.snapshot__no-data-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    animation: snapshot-no-data-text-appear 0.4s ease-out 0.2s forwards;
}

@keyframes snapshot-no-data-appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes snapshot-no-data-icon-appear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes snapshot-no-data-text-appear {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}