.sammy365-slideshow-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 80vh;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
    font-size: 1.1rem;
    font-family: inherit;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    box-sizing: border-box;
    text-align: center;
}

.ui-controls-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    gap: 10px;
}

.swiper-slide:hover .ui-controls-wrapper {
    opacity: 1;
}

.ui-controls-wrapper a, .ui-global-controls button.sammy-btn {
    background: rgba(255,255,255,0.9);
    color: #000;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.ui-controls-wrapper a:hover, .ui-global-controls button.sammy-btn:hover {
    background: #fff;
}

.ui-global-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sammy365-slideshow-container:hover .ui-global-controls {
    opacity: 1;
}

/* Fullscreen adjustments */
:fullscreen .swiper-slide img {
    max-height: 100vh;
}
:-webkit-full-screen .swiper-slide img {
    max-height: 100vh;
}
:-ms-fullscreen .swiper-slide img {
    max-height: 100vh;
}

.sammy-control-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    padding: 0 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.sammy-control-group label {
    margin-right: 5px;
}

.sammy-control-group input {
    width: 50px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 14px;
    text-align: center;
}
