/* Default desktop style */
.toggle-switch {
    position: absolute;        /* use fixed instead of absolute */
    right: 400px;           /* distance from the right edge of the viewport */
    z-index: 101;            /* stack on top */
    padding: 2px;           /* internal spacing */
    border-radius: 5px;     /* rounded corners */
}

.details-toast {
    position: fixed;
    top: 60px;
    left: 4px;              /* left-aligned on desktop */
    z-index: 9999;
    max-height: 400px;
    min-height: 200px;
    overflow: auto;
    width: 400px;
    max-width: 400px;
    padding: 10px;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid lightgrey;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Mobile adjustments */

@media (max-width: 768px) {
    .toggle-switch {
    position: fixed;        /* use fixed instead of absolute */
    left: 33px;           /* distance from the right edge of the viewport */
    z-index: 101;            /* stack on top */
    padding: 2px;           /* internal spacing */
    border-radius: 5px;     /* rounded corners */
    }


    .details-toast {
        position: fixed;
        top: 60px;
        left: 50%;                  /* center horizontally */
        transform: translateX(-50%);
        width: calc(100% - 8px);    /* 4px padding each side */
        max-width: 400px;            /* cap width like desktop */
    }
}


.rc-slider-dot-active {
    border-color: #5f6f85;       /* active dot border */
    background-color: red;   /* active dot fill */
}


.rc-slider-dot {
    border-color: #a8c6ff;       /* inactive dot border */
    background-color: red;   /* fill of inactive dot */
}