#websiteList{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#websiteList .container {
    width: 80%;
    height: 100%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

#websiteList h1 {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    display: none;
}

#websiteList #searchBar {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    color: black;
}

#categoriesList {
    display: flex;
    overflow: auto;
    gap: 10px;
    margin-bottom: 20px;
    height: 3;
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    padding-bottom: 5px; /* Add padding to prevent content overlap with scrollbar */
}

/* Chrome, Safari, Opera scrollbar styling for categories */
#categoriesList::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

#categoriesList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#categoriesList::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

#categoriesList::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.category-item {
    padding: 10px 15px;
    background-color: #007bff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    opacity: 0.6;
    text-transform: capitalize;
    height: 35px;
    white-space: nowrap;
    margin-bottom: inherit;
}

.category-item:hover {
    /* background-color: #188ea5; */
    opacity: 1;
}
.active-category {
    /* background-color: #188ea5; */
    color: white;
    opacity: 1;
}
#websitesList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: calc(100% - 170px);
    overflow: auto;
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    padding-right: 5px; /* Add padding to prevent content overlap with scrollbar */
}

/* Chrome, Safari, Opera scrollbar styling for websites list */
#websitesList::-webkit-scrollbar {
    width: 6px;
}

#websitesList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#websitesList::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

#websitesList::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.website-item {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.website-item:hover {
    background-color: #e9e9e937;
}

.website-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    color: white;
    gap: 5px;
}
.website-icon{
    height: 25px;
}
.website-description {
    margin-bottom: 5px;
    color: white;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.website-link {
    color: #007bff;
    text-decoration: none;
}

.website-link:hover {
    text-decoration: underline;
}


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

.popup-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}

#closePopup {
    float: right;
    cursor: pointer;
    font-size: 24px;
}

#addWebsiteBtn {
    height: 100%;
    background: indianred;
    padding: 5px 15px;
}

#websiteList input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    color: black;
}

#submitWebsiteBtn {
    border: none;
    cursor: pointer;
    background-color: green;
    outline: none;
    margin: auto;
    width: 100%;
    padding: 5px;
    font-size: 16px;
}