/* Container */
.sls-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
}

/* The Track */
.sls-track {
    display: flex;
    width: max-content;
    align-items: center;
    /* Use variables for dynamic settings */
    gap: var(--sls-gap); 
    padding-right: var(--sls-gap);
    animation: sls-scroll var(--sls-speed) linear infinite;
}

/* Reverse Direction Modifier */
.sls-track.sls-reverse {
    animation-direction: reverse;
}

/* The Items */
.sls-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sls-item img {
    width: auto;
    height: auto;
    display: block;
    max-width: none;
    max-height: var(--sls-max-height);
}

/* Keyframes */
@keyframes sls-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Admin Styles (Small tweaks for the dashboard) */
.sls-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; background: #f9f9f9; padding: 10px; border: 1px solid #ddd; cursor: move; }
.sls-preview { width: 60px; height: 60px; object-fit: contain; background: #fff; border: 1px solid #ccc; }
.sls-inputs { flex-grow: 1; }
.sls-remove { color: #b32d2e; cursor: pointer; border:none; background:none; text-decoration: underline; }