/* Slidein Container */
.slidein-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #fff;
    border-radius: 8px;
    z-index: 1000;
}

.slidein-container[hidden],
.minimized-bar[hidden] {
    display: none !important;
}

.slidein-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

#slidein-close {
    position: absolute;
    top: 5px;
    right: 5px;
    margin: 0;
    padding: 0;
    width: auto;
    min-width: 0;
    min-height: 0;
    background: none;
    border: none;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* Minimized Bar */
.minimized-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #FDB913;
    color: #004630;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#expand-slidein {
    display: block;
    margin: 0;
    padding: 10px 20px;
    background: transparent;
    border: 0;
    border-radius: 30px;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .slidein-container {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }

    .minimized-bar {
        right: 5%;
        bottom: 10px;
        font-size: 14px;
    }

    #expand-slidein {
        padding: 8px 16px;
    }
}
