/* Overlay */
#sheetOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6);

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

/* Overlay Active */
#sheetOverlay.active {
    opacity: 1;
    visibility: visible;
}


/* Bottom Sheet */
#bottomSheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    background: #fff;
    border-radius: 20px 20px 0 0;

    max-height: 550px;
    overflow-y: auto;

    /* Smooth animation */
    transform: translateY(100%);
    transition: transform 0.3s ease;

    z-index: 10000;
    will-change: transform;
}

/* Active State */
#bottomSheet.active {
    transform: translateY(0);
}


/* Open Button */
#openSheet {
    position: absolute;
    background: #fff;
    padding: 11px 15px;
    z-index: 10001;
    left: 0;
}


/* Header */
.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 2px solid #ffb200;
    margin-bottom: 10px;

    position: sticky; /* FIXED ISSUE HERE */
    top: 0;

    width: 100%;
    background: #fff;
    z-index: 10;

    padding: 15px 10px 10px 10px;

    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}


/* List Styling */
.sheet-header + ul {
    padding: 20px;
    margin-top: 10px;
}

.sheet-header + ul li {
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 10px;
    list-style: disc;
}

.sheet-header + ul li a {
    font-size: 16px;
}