#sidebarContent{flex-grow:1;overflow-y:auto;padding-bottom:1.25rem;-ms-overflow-style:none;scrollbar-width:none}.collapsible:hover{background:#405a42;-webkit-transform:scale(1.05);transform:scale(1.05)}.collapsible:after{content:"▼";font-size:.875rem;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.collapsible.active:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.collapsible{align-items:center;background:#b7730d;background:rgba(28,26,23,.57);border:none;border-radius:.5rem;display:flex;font-size:1.125rem;justify-content:space-between;margin:.3125rem 0;overflow:hidden;padding:.75rem;text-align:left;width:100%}.collapsible,.subunits{color:#fff;cursor:pointer;transition:background .3s ease-in-out}.subunits{background:rgba(126,42,42,.54);border-radius:.3125rem;font-size:1rem;margin-top:.25rem;padding:.5rem .75rem}.subunits:hover{background:#745f5f;-webkit-transform:scale(1.05);transform:scale(1.05)}.content{display:none;padding-left:.9375rem}
.sidebar{background:linear-gradient(180deg,rgba(101,1,132,.89),#2c0e05);box-shadow:.3125rem 0 .9375rem rgba(0,0,0,.2);color:#fff;display:flex;flex-direction:column;font-family:Poppins,sans-serif;height:100vh;left:-15.625rem;padding:1.25rem 1.25rem 3.75rem;position:fixed;transition:left .3s;width:15.625rem;z-index:1000}#sidebarContent{flex-grow:1;overflow-y:auto;padding-bottom:1.25rem;-ms-overflow-style:none;scrollbar-width:none}.sidebar::-webkit-scrollbar{width:.5rem}.sidebar::-webkit-scrollbar-thumb{background:#555;border-radius:.3125rem}.sidebar::-webkit-scrollbar-track{background:#222}#sidebarContent{padding:.625rem}.sidebar.open,.sidebar.visible{left:0}
.user-sidebar{background:linear-gradient(180deg,rgba(101,1,132,.89),#2c0e05);box-shadow:.3125rem 0 .9375rem rgba(0,0,0,.2);color:#fff;display:flex;flex-direction:column;font-family:Poppins,sans-serif;height:100vh;padding:1.25rem 1.25rem 3.75rem;position:fixed;right:-21.875rem;transition:right .3s;width:15.625rem;z-index:1000}.user-sidebar ul{list-style:none;padding:0}.user-sidebar ul li{cursor:pointer;padding:.625rem;transition:background .3s}.user-sidebar ul li:hover{background:hsla(0,0%,100%,.2)}.user-sidebar.open,.user-sidebar.visible{right:.3125rem}
a {
    text-decoration: none;
    color: #5a5a5a;
}

img {
    cursor: pointer;
}

.flex-div {
    display: flex;
    align-items: center;

}

.flex-div-favorite {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

nav {
    padding: 5px;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(200, 0, 0, 0.8);
    background: #030000;
    position: sticky;
    top: 0;
    z-index: 10;

}

.nav-right img {
    width: 25px;
    margin-right: 25px;
}

.nav-right span {

    margin-right: 25px;
}

.nav-right #userIcon {
    display: block;
    width: 40px;
    height: 40px;
    /* Ensure it's a square */
    border-radius: 50%;
    /* Makes the icon round */
    object-fit: cover;
    /* Ensures the image covers the circle nicely */
    margin-right: 0;
}

.nav-left .menu-icon {
    width: 22px;
    margin-right: 5px;
    height: 23px;
}

.nav-left .logo {
    width: 200px;


}

.nav-left .logo-text {
    width: 50px;
    height: 23px;

}

.nav-middle {
    flex: 1;
    /* Allow the nav-middle to take the remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-middle .mic-icon {
    width: 16px;
}

/* Default: hidden */
.search-small {
    display: none;
}

.black-back-arrow {

    height: 30px;
    width: 40px;
    /* gives space around the arrow */
    border-radius: 50%;
    /* makes it perfectly round */
    border: 2px solid #555454;
    /* black border */
    background-color: #504e4e;
    /* white background (optional) */
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
    /* subtle shadow (optional) */
    cursor: pointer;
    /* make it look clickable */
    object-fit: contain;
    /* keep arrow aspect ratio */
    display: none;
}

.nav-middle .search-box {
    border: 1px solid #572929;
    margin-right: 15px;
    padding: 8px 12px;
    border-radius: 25px;
    position: relative;
    background-color: #363434;
    width: 70%;
    justify-content: space-between;
}

.nav-middle .search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #ffffff;
    background-color: transparent;
    padding: 5px;
}

.nav-middle .search-box .results-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    background-color: rgb(63, 59, 59);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    color: #ffffff;
}

.nav-middle .search-box .results-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-middle .search-box .results-dropdown ul li {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.nav-middle .search-box .results-dropdown ul li:hover {
    background-color: #f0f0f0;
}

.nav-middle .search-box img {
    width: 30px;
}

#userNameDisplay {
    color: #fff;
}




/*------------------ coin ----------------------*/
.coin-container {
    position: relative;
    display: flex;
    align-items: center;

}

.coin-icon {

    height: 25px;
    cursor: pointer;
}

#coinCount {
    position: absolute;
    top: -5px;
    right: -8px;
    background: red;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

.coin-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1001;
    width: 300px;
}

.coin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.coin-modal.active,
.coin-overlay.active {
    display: block;
}
.sidebar {
    width: 250px;
    height: 100vh; /* Full viewport height */
    background: linear-gradient(to bottom, rgba(101, 1, 132, 0.89), rgba(44, 14, 5, 1)); /* Green school theme */
    position: fixed;
    left: -250px;


    transition: left 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;



    padding: 20px;
    padding-bottom: 60px;
    color: white;
    font-family: 'Poppins', sans-serif;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);

}
/* Ensure sidebar content fits and scrolls */
#sidebarContent {
    flex-grow: 1; /* Allows content to expand */
    overflow-y: auto; /* Enables scrolling */
    padding-bottom: 20px; /* Prevents content from being cut off */
    -ms-overflow-style: none;  /* Hide scrollbar for IE/Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
}

/* For Webkit-based browsers (Chrome, Edge, Safari) */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: #222;
}

#sidebarContent{
    padding: 10px;


}
  .sidebar.visible {
    left: 0;
  }

.sidebar.open {
    left: 0;
}

/* Form Container */
.container-register {

    width: 100%;
    max-width: 450px;

    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Form Title */
.form-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Input Field Container */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Input Fields */
.input-group input {
    width: 100%;
    padding: 12px 20px 12px 15px;
    /* Space for icon */
    background-color: white;
    border: 2px solid #ffffff;
    color: #000;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

type

/* Fix Icon Position */
.input-group i {
    position: absolute;
    right: 15px;
    /* Move icon inside the field */
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 1.2rem;
}

/* Placeholder & Label */
.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Move Label Up When Typing or Focusing */
.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: 5px;
    font-size: 0.85rem;
    color: #ffffff;
    background: white;
    padding: 0 5px;
}

/* Improve Focus State */
.input-group input:focus {
    outline: none;
    border-color: #ffffff;
}

/* Forgot Password */
.recover {
    text-align: right;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.recover a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.recover a:hover {
    color: #ff0000;
}

/* Buttons */
button {
    font-size: 1rem;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    border: none;
    width: 100%;
    background: #cf04f3;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #4d4dbd;
}

/* OR Divider */
.or {
    font-size: 1rem;
    margin: 1rem 0;
}

/* Social Icons */
.icons {
    text-align: center;
    margin-bottom: 1rem;
}

.icons i {
    color: #7d7deb;
    padding: 10px;
    border-radius: 8px;
    font-size: 1.4rem;
    cursor: pointer;
    border: 2px solid #dfe9f5;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.icons i:hover {
    background: #4d4dbd;
    color: white;
    border-color: #7d7deb;
}

/* Sign-up and Sign-in Links */
.links {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;
}

#signUpButton,
#signInButton {
    color: #7d7deb;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

#signUpButton:hover,
#signInButton:hover {
    text-decoration: underline;
    color: #4d4dbd;
}

/* Message Box */
.messageDiv {
    background-color: #7d7deb;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    opacity: 0;
    animation: fadeOut 7s forwards;
    margin-bottom: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}





/* Grade Dropdown Container */
.grade-dropdown {
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Dropdown Label */
.grade-dropdown label {
    display: block;
    font-size: 1rem;
    color: #757575;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Select Dropdown Style */
.grade-dropdown select {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-size: 1rem;
    color: #ffffff;
    appearance: none;
    /* Hides default dropdown arrow in some browsers */
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"%23575757\" viewBox=\"0 0 20 20\"><path d=\"M5.5 7.5L10 12l4.5-4.5H5.5z\"/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* On Focus */
.grade-dropdown select:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 5px rgba(84, 10, 99, 0.5);
}

/* Option Styling */
.grade-dropdown select option {
    padding: 10px;
    font-size: 1rem;
    color: #ffffff;
    background: #540a63;
}

/* Hover Effect */
.grade-dropdown select:hover {
    border-color: #4d4dbd;
}

/* Error State (Optional) */
.grade-dropdown select.error {
    border-color: #ff4d4d;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .grade-dropdown select {
        font-size: 0.9rem;
        width: 100%;

    }
}
.user-sidebar {
    width: 250px;
    height: 100vh;
    /* Full viewport height */
    background: linear-gradient(to bottom, rgba(101, 1, 132, 0.89), rgba(44, 14, 5, 1));
    /* Green school theme */
    position: fixed;
    right: -350px;


    transition: right 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;



    padding: 20px;
    padding-bottom: 60px;
    color: white;
    font-family: 'Poppins', sans-serif;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

.user-sidebar ul {
    list-style: none;
    padding: 0;
}

.user-sidebar ul li {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.user-sidebar ul li:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-sidebar.visible {
    right: 5px;
    /* Adjust this value to control how far the sidebar comes into view */
}

.user-sidebar.open {
    right: 5px;
    /* Adjust this value to control how far the sidebar comes into view */
}
/* Extra small devices (phones, portrait) */
@media (max-width: 400px) {
    .youtube-logo-overlay {

        width: 100%;
        height: 40px;
    }

}

@media (max-width: 575.98px) {

    .search-box {
        display: none;
    }

    .search-small {
        display: block;
    }

    .fullscreen-mode .iframe-container {
        flex-direction: column;
        width: 100vw;
        height: 56vw;
        justify-content: flex-start;
        align-items: center;
    }

    .fullscreen-mode .play-video {
        width: 100%;
        height: auto;
    }

    .fullscreen-mode iframe {
        width: 100%;
        height: 56vw;
        /* Maintains a 16:9 aspect ratio */
    }

    .nav-left .logo {
        width: 120px;

    }




}



/* Small devices (phones, landscape) */
@media (min-width: 576px) and (max-width: 767.98px) {}

/* Medium devices (tablets, portrait) */
@media (max-width: 991.98px) {
    .fullscreen-mode .iframe-container {
        flex-direction: column;
        width: 100vw;
        height: 56vw;
        justify-content: flex-start;
        align-items: center;
    }

    .side-video-list {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;

    }

    .container,
    .large-container {
        padding-left: 1%;
        padding-right: 1%
    }







    .play-video {

        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .play-video .iframe-container {
        width: 100%;
        height: 30vh;

    }

    .right-sidebar {
        flex-basis: 100%;
    }


}

@media (min-width: 767.98px) and (max-width: 991.98px) {}

/* Large devices (tablets, landscape / small desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {}

/* Extra large devices (desktops) */
@media (min-width: 1200px) and (max-width: 1399.98px) {}

/* Extra-extra large devices (4K monitors, TVs) */
@media (min-width: 1400px) {


    /* styles for very large screens like TVs */
}
*{box-sizing:border-box;font-family:Roboto,sans-serif;margin:0;padding:0}.container{background:#060101;min-height:100vh;padding:.625rem .3125rem 1.25rem;position:relative}.list-container{display:flex;flex-wrap:wrap}.focused{background-color:#444!important;outline:.1875rem solid #ff0}
a{color:#5a5a5a;text-decoration:none}img{cursor:pointer}.flex-div,.flex-div-favorite{align-items:center;display:flex}.flex-div-favorite,nav{justify-content:space-between}nav{background:#030000;box-shadow:0 0 .625rem rgba(200,0,0,.8);padding:.3125rem;position:sticky;top:0;z-index:10}.nav-right img{width:1.5625rem}.nav-right img,.nav-right span{margin-right:1.5625rem}.nav-right #userIcon{border-radius:50%;display:block;height:2.5rem;margin-right:0;object-fit:cover;width:2.5rem}.nav-left .menu-icon{height:1.4375rem;margin-right:.3125rem;width:1.375rem}.nav-left .logo{width:12.5rem}.nav-left .logo-text{height:1.4375rem;width:3.125rem}.nav-middle{align-items:center;display:flex;flex:1 1;justify-content:center}.nav-middle .mic-icon{width:1rem}.search-small{display:none}.black-back-arrow{background-color:#504e4e;border:.125rem solid #555454;border-radius:50%;box-shadow:0 .125rem .3125rem hsla(0,0%,100%,.2);cursor:pointer;display:none;height:1.875rem;object-fit:contain;width:2.5rem}.nav-middle .search-box{background-color:#363434;border:.0625rem solid #572929;border-radius:1.5625rem;justify-content:space-between;margin-right:.9375rem;padding:.5rem .75rem;position:relative;width:70%}.nav-middle .search-box input{background-color:initial;border:0;color:#fff;outline:0;padding:.3125rem;width:100%}.nav-middle .search-box .results-dropdown{background-color:#3f3b3b;border-radius:.3125rem;box-shadow:0 .25rem .5rem rgba(0,0,0,.2);color:#fff;display:none;left:0;max-height:12.5rem;overflow-y:auto;position:absolute;top:2.5rem;width:100%;z-index:1000}.nav-middle .search-box .results-dropdown ul{list-style:none;margin:0;padding:0}.nav-middle .search-box .results-dropdown ul li{border-bottom:.0625rem solid #ddd;cursor:pointer;padding:.5rem .75rem}.nav-middle .search-box .results-dropdown ul li:hover{background-color:#f0f0f0}.nav-middle .search-box img{width:1.875rem}#userNameDisplay{color:#fff}.coin-container{align-items:center;display:flex;position:relative}.coin-icon{cursor:pointer;height:1.5625rem}#coinCount{background:red;border-radius:50%;color:#fff;font-size:.875rem;font-weight:700;padding:.125rem .375rem;position:absolute;right:-.5rem;top:-.3125rem}.coin-modal{background:#fff;border-radius:.625rem;box-shadow:0 0 .625rem rgba(0,0,0,.3);left:50%;padding:1.25rem;text-align:center;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:18.75rem;z-index:1001}.coin-modal,.coin-overlay{display:none;position:fixed}.coin-overlay{background:rgba(0,0,0,.5);height:100%;left:0;top:0;width:100%;z-index:1000}.coin-modal.active,.coin-overlay.active{display:block}
@media (max-width:400px){.youtube-logo-overlay{height:2.5rem;width:100%}}@media (max-width:575.98px){.search-box{display:none}.search-small{display:block}.fullscreen-mode .iframe-container{align-items:center;flex-direction:column;height:56vw;justify-content:flex-start;width:100vw}.fullscreen-mode .play-video{height:auto;width:100%}.fullscreen-mode iframe{height:56vw;width:100%}.nav-left .logo{width:7.5rem}}@media (max-width:991.98px){.fullscreen-mode .iframe-container{align-items:center;flex-direction:column;height:56vw;justify-content:flex-start;width:100vw}.side-video-list{display:flex;justify-content:space-between;margin-bottom:.5rem}.container,.large-container{padding-left:1%;padding-right:1%}.play-video{flex-basis:100%;margin-bottom:1.25rem}.play-video .iframe-container{height:30vh;width:100%}.right-sidebar{flex-basis:100%}}
.container{background:#060101;min-height:100vh;padding:.625rem .3125rem 1.25rem;position:relative}.list-container{display:flex;flex-wrap:wrap}.list-container>div{flex:1 1 21.875rem;margin:.625rem}.vid-list .thumbnail{border-radius:5%;width:100%}.vid-list .flex-div{align-items:flex-start;margin-top:.4375rem}.vid-list .flex-div img{border-radius:50%;margin-right:.625rem;width:2.1875rem}.vid-info{color:#d7d1d1;font-size:.8125rem}.vid-info a{color:#fff;display:block;font-weight:600;margin-bottom:.3125rem}
