
/* Source: thonem.css */
/* SKELETON */
.skeleton-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: center;
}
.skeleton-card, .skeleton-text-block, .skeleton-list-item, .skeleton-product-grid-item {
    background-color: #e0e0e0; /* Lighter grey for placeholder */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}
.skeleton-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.5) 60%, rgba(255,255,255,0));
    animation: shimmer 1.5s infinite forwards;
    transform: translateX(-100%);
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
.skeleton-card {
    width: 300px;
    height: 280px;
    display: flex;
    flex-direction: column;
}
.skeleton-image {
    width: 100%;
    height: 150px;
    background-color: #c0c0c0; /* Darker grey for image placeholder */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.skeleton-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}
.skeleton-line {
    height: 16px;
    background-color: #c0c0c0;
    border-radius: 4px;
    width: 100%;
}
.skeleton-title {
    height: 20px;
    width: 70%;
    margin-bottom: 5px;
}
.skeleton-text-block {
    width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.skeleton-list-item {
    width: 350px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #c0c0c0;
    flex-shrink: 0;
}
.skeleton-list-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.skeleton-list-title {
    width: 80%;
    height: 18px;
}
.skeleton-list-subtitle {
    width: 60%;
    height: 14px;
}
.skeleton-product-grid-item {
    width: 200px; /* Smaller for a grid layout */
    height: 250px;
    display: flex;
    flex-direction: column;
}
.skeleton-product-image {
    height: 120px;
}
.skeleton-product-title {
    width: 90%;
    height: 18px;
}
.skeleton-product-price {
    width: 50%;
    height: 16px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    .skeleton-card, .skeleton-text-block, .skeleton-list-item, .skeleton-product-grid-item {
        width: 100%; /* Full width on small screens */
    }
}


.smart-ac-container { position: relative; width: 100%; }
.smart-ac-control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    min-height: 38px;
    cursor: text;
    position: relative;
    height: auto !important;
}
.smart-ac-input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    min-width: 120px;
    padding: 2px 0;
}
.smart-ac-loader { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #6c757d; }

.smart-ac-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1050;
    margin-top: -1px;
}
.smart-ac-empty { padding: 10px; text-align: center; color: #6c757d; font-size: 13px; }
.smart-ac-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f8f9fa;
    font-size: 14px;
}
.smart-ac-item:last-child { border-bottom: none; }
.smart-ac-item:hover, .smart-ac-item.active { background-color: #f1f3f5; color: #0d6efd; }
.smart-ac-item img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; margin-right: 10px; border: 1px solid #dee2e6; }

.smart-ac-chip {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ced4da;
}
.smart-ac-chip span { cursor: pointer; font-weight: bold; opacity: 0.5; }
.smart-ac-chip span:hover { opacity: 1; color: #dc3545; }
.modern-card, .card, .smart-ac-container {
    overflow: visible !important;
}
.modern-card .card-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.modern-card,
.card,
.smart-ac-container {
    overflow: visible !important;
}
.modern-card .card-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
