
.fullscreen-container {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 2147483646;
}
.fullscreen-container img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    border: 1px solid rgb(99, 168, 214);
}
.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    color: white;
    z-index: 1001;
}
.fullscreen-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    z-index: 1001;
}
.fullscreen-button.left {
    font-family: Kanit, Verdana;
    left: 20px;
}
.fullscreen-button.right {
    font-family: Kanit, Verdana;
    right: 20px;
}
.carousel {
    border-radius: 3px;
    border: 1px solid  rgb(108, 193, 230);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;

    background: #000;
}
.carousel-image {
    max-width: 100%;
    height: auto;
    display: none;
}
.carousel-image.active {
    display: block;
}
.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.carousel-button.left {
    font-family: Kanit, Verdana;
    left: 10px;
}
.carousel-button.right {
    font-family: Kanit, Verdana;
    right: 10px;
}

/* ensure buttons actually render a glyph and stay visible */
.carousel-button {
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important; /* nukes any transparent text-fill from globals */
    opacity: 1 !important;
    visibility: visible !important;
    mix-blend-mode: normal !important;
    filter: none !important;

    /* center + consistent hit area so glyph can’t collapse */

    display: flex;
    align-items: center;
    justify-content: center;
}

/* optional: subtle backdrop so white is readable on any image */
.carousel-button {
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(2px);
}
