html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    font-family: 'KoHo', sans-serif;

}


.sidebar {
    height: 100vh;
    width: 80px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #D32F2F;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;

}

.sidebar a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
}

.sidebar .how-to-use {
    margin-top: auto;
}

.content {
    margin-left: 80px;
    padding: 1rem;
    overflow-x: hidden;
}

.title {
    color: #D32F2F;
}

.form-control::placeholder {
    color: white !important;
    opacity: 1;
    /* Ensures full visibility */
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #D32F2F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B71C1C;
}

.current-page {
    color: lightskyblue;
}

.custom-alert {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-in-out;
}

.custom-alert-content {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: popIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


@media (min-width: 700px) {
    .icon-text {
        display: none;
    }

    .back-arrow {
        display: none;
        /* Hide in desktop view */
    }
}

@media (max-width: 700px) {

    .tooltip {
        display: none !important;
    }

    .close-menu {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }


    .icon-text {
        display: inline;
        margin-left: 10px;
        font-size: 20px;
        color: white;
    }

    .sidebar a {
        display: flex;
        align-items: center;
        margin-top: 20px;
    }

    .sidebar img {
        margin-top: 25px;
        max-width: 70px !important;
        height: auto !important;
        margin-left: 10px;
    }

    .sidebar {
        position: fixed;
        left: -250px;
        width: 210px;
        height: 100vh;
        background-color: #D32F2F;
        ;
        transition: left 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
        z-index: 1050;
        padding-left: 20px;
    }

    .sidebar.show {
        left: 0;
        z-index: 1050;
    }

    .burger-menu {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1000;
        background-color: #D32F2F;
        border: #D32F2F;
    }

    .content {
        position: relative;
        z-index: 1;
        margin-left: 0px;
        margin-top: 50px;
    }

    .search-container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        width: 100%;
    }

    .search-container select,
    .search-container input {
        width: 100%;
        margin-bottom: 10px;
    }

    .dropdown-wrapper {
        align-self: flex-end;
        margin-top: 5px;
    }




}