@keyframes accommodation_card_shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-image,
.title-line,
.subtitle-line,
.location-line,
.skeleton-button {
    position: relative !important; 
    overflow: hidden !important;    
}

.skeleton-image::after,
.title-line::after,
.subtitle-line::after,
.location-line::after,
.skeleton-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    
    animation: accommodation_card_shimmer 1.5s infinite;
    z-index: 2; 
}

.skeleton-card {
    width: 100%;
    min-width: 300px;
    max-width: 365px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #EAEAEA;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    box-sizing: border-box;
}

.skeleton-image {
    height: 160px;
    width: 100%;
    border-radius: 4px;
    background-color: #D9D9D9;
}

.skeleton-badge {
    position: absolute; 
    top: 10px;
    left: 10px;
    z-index: 3; 
    background: white;
    padding: 2px 4px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}

.skeleton-star {
    height: 12px;
    display: flex;
}

.badge-line {
    width: 50px;
    height: 8px;
    border-radius: 4px;
    background: #E8EAEB;
}

.skeleton-content {
    padding: 0 5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-location{
    display: flex;
    gap: 4px;
    align-items: center;
}

.title-line {
    height: 9px;
    width: 95%;
    border-radius: 16px;
    background-color: #889596;
}

.subtitle-line {
    height: 9px;
    width: 60%;
    border-radius: 16px;
    background-color: #889596;
}

.location-line {
    height: 9px;
    width: 70%;
    border-radius: 16px;
    background-color: #F2F3F3;
}

.skeleton-button {
    height: 35px;
    width: 100%;
    border-radius: 8px;
    background-color: #E5E7EB;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-pill {
    width: 30%;
    height: 10px;
    border-radius: 16px;
    background-color: #8a8a8a;
    opacity: 0.3;
    z-index: 3; 
}

.accommodation-skeleton-line{
    border: 0 !important;
    transform: none !important;
}

@media(max-width:600px) {
    .skeleton-card{
        width: 100%;
    }
}