.project-list {
    height: 135px;
    padding-left: 10px;
    overflow-y: auto;
    padding-right: 4px;
    box-shadow: 0 0px 11px rgba(0, 0, 0, 0.1);
}

.project-list-item {
    display: flex;
    width: 100%;
    list-style-type: none;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    padding: 0.4em;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.project-name {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 80%;
    overflow: hidden;
}

.project-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.project-list-item button {
    width: 20%;
}

.project-list-item span i {
    margin-right: 5px;
}

.project-list-item:hover {
    background: rgba(190, 191, 197, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.project-list-item.active {
    background: linear-gradient(to right, rgb(0, 4, 40) 0,
            rgb(0, 78, 146) -1%, rgb(0, 4, 40) 215%) !important;
    border-radius: 3px !important;
    color: #FFFFFF !important;
}

/* Delete Button */
.delete-btn {
    background: transparent;
    border: none;
    color: #ffdddd;
    cursor: pointer;
    font-size: 1em;
    padding: 4px;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.delete-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4d4d;
}

.no-projects-message {
    text-align: center;
    color: #c34a36;
    font-weight: 500;
    margin: 10px 0px;
}

@media screen and (min-width: 1367px) and (max-width: 1920px) {
    .project-list {
        height: 27vh;
    }

    .project-list-item {
        padding: 0.5em;
    }
}

/* Medium Devices (QHD - 4K) */
@media screen and (min-width: 1921px) and (max-width: 2560px) {
    .project-list {
        height: 27vh;
    }

    .project-list-item {
        padding: 0.7em;
    }
}

@media screen and (min-width: 2561px) {
    .project-list {
        height: 27vh;
    }

    .project-list-item {
        padding: 0.8em;
    }
}