.overlay-project-edit {
    position: fixed; /* Position relative to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 10%); /* Semi-transparent background */
    display: flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
    gap: var(--numbers-gaps-XL);
    padding: 40px;
    z-index: 999;
    
}

#CardForm .title {
    width: 100%;
}

.preview-static {
    display: block;
    background-color: none;
}

    .preview-static:hover {
        opacity: 0;
    }



    .overlay-project-edit .dialog-form {
        display: flex;
        border-radius: var(--numbers-roundness-m);
        flex-direction: column;
        width: 632px;
        gap: 20px;
        background-color: var(--colors-bg-primary);
        box-shadow: 0 4px 8px rgba(0 0 0 20%);
    }

    .overlay-project-edit .content {
        display: flex;
        padding: 40px;
        padding-bottom: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        position: relative;
        flex: 1;
        align-self: stretch;
        flex-grow: 1;
        width: 553px;
        height: 737px;
    }

    .overlay-project-edit .cover {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        background-color: var(--colors-bg-secondary);
        border-radius: var(--numbers-roundness-m);
    }

    .overlay-project-edit .preview-window {
        position: relative;
        height: 310px;
        border-radius: var(--numbers-roundness-m);
        overflow: hidden;
        flex-grow: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .overlay-project-edit .img {
        height: 100%;
        aspect-ratio:auto;
        position: relative;
        border-radius: var(--numbers-roundness-m);
    }

    .overlay-project-edit .image-path {
        height: 20px;
        display: none;
        align-items: center;
        padding: 0 var(--numbers-gaps-s) 0 var(--numbers-gaps-s);
        position: absolute;
        top: 290px;
        left: 0;
        background-color: #d8e9fd99;
        border-radius: 0 var(--numbers-roundness-m) 0 var(--numbers-roundness-m);
        overflow: hidden;
    }

    .overlay-project-edit .path {
        position: relative;
        width: fit-content;
        opacity: 0.6;
        font-family: var(--p-comments-font-family);
        font-weight: var(--p-comments-font-weight);
        color: var(--colors-text-primary);
        font-size: var(--p-comments-font-size);
        letter-spacing: var(--p-comments-letter-spacing);
        line-height: var(--p-comments-line-height);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        font-style: var(--p-comments-font-style);
    }

    .overlay-project-edit .button-copy-path {
        position: relative;
        width: 20px;
        height: 20px;
        border-radius: var(--general-roundness-XS);
        overflow: hidden;
        opacity: 0.6;
    }

    .overlay-project-edit .copy {
        position: absolute;
        width: 10px;
        height: 10px;
        top: 5px;
        left: 5px;
    }

    .overlay-project-edit .small-previews {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        position: relative;
        flex: 0 0 auto;
    }

    .overlay-project-edit .frame {
        display: inline-flex;
        align-items: flex-start;
        gap: 2px;
        position: relative;
        flex: 0 0 auto;
    }

    .overlay-project-edit .ellipse {
        background-color: var(--colors-bg-accent-subdedube-primary);
        position: relative;
        width: 7.59px;
        height: 7.59px;
        border-radius: 3.8px;
    }

    .overlay-project-edit .div {
        background-color: var(--colors-bg-accent-secondary);
        position: relative;
        width: 7.59px;
        height: 7.59px;
        border-radius: 3.8px;
    }

    .overlay-project-edit .another-preview {
        display: inline-flex;
        align-items: flex-start;
        gap: 3px;
        position: relative;
        flex: 0 0 auto;
    }

    .overlay-project-edit .rectangle {
        position: relative;
        width: 32.9px;
        height: 32.9px;
        object-fit: cover;
    }

    .overlay-project-edit .div-2 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--numbers-gaps-s);
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .overlay-project-edit.title {
        display: flex;
        width: 315px;
        align-items: flex-start;
        position: relative;
        flex: 0 0 auto;
    }

    .overlay-project-edit .card-title {
        position: relative;
        flex: 1;
        align-self: stretch;
        margin-top: -1px;
        font-family: var(--h-h4-font-family);
        font-weight: var(--h-h4-font-weight);
        color: var(--colors-text-primary);
        font-size: var(--h-h4-font-size);
        letter-spacing: var(--h-h4-letter-spacing);
        line-height: var(--h-h4-line-height);
        /* white-space: nowrap; */
        overflow: hidden;
        /* text-overflow: ellipsis; */
        /* display: -webkit-box; */
        /* -webkit-line-clamp: 1; */
        /* -webkit-box-orient: vertical; */
        font-style: var(--h-h4-font-style);
    }

    .overlay-project-edit .inputs-long-default {
        display: flex;
        flex-direction: column;
        height: 120px;
        align-items: flex-end;
        justify-content: space-between;
        padding: var(--general-gaps-l-duplicate) var(--general-gaps-m) var(--general-gaps-m) var(--general-gaps-m);
        position: relative;
        align-self: stretch;
        width: 100%;
        background-color: var(--colors-bg-primary-primary);
        border-radius: var(--general-roundness-XS);
        overflow: hidden;
        border: 1px solid;
        border-color: #1F20231F;
    }

    .overlay-project-edit .text-wrapper {
        flex: 1;
        align-self: stretch;
        padding: 12px;
        padding-top: 16px;
        color: var(--colors-text-primary);
        font-size: var(--p-secondary-regular-font-size);
        line-height: var(--p-secondary-regular-line-height);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        position: relative;
        font-family: var(--p-secondary-regular-font-family);
        font-weight: var(--p-secondary-regular-font-weight);
        letter-spacing: var(--p-secondary-regular-letter-spacing);
        font-style: var(--p-secondary-regular-font-style);
    }

    .overlay-project-edit .local-path {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .overlay-project-edit .card-title-2 {
        color: var(--colors-text-primary);
        font-size: var(--p-bold-font-size);
        line-height: var(--p-bold-line-height);
        -webkit-line-clamp: 0;
        position: relative;
        flex: 1;
        align-self: stretch;
        margin-top: -1px;
        font-family: var(--p-bold-font-family);
        font-weight: var(--p-bold-font-weight);
        letter-spacing: var(--p-bold-letter-spacing);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        font-style: var(--p-bold-font-style);
    }

    .overlay-project-edit .card-path-vars-hover {
        display: flex;
        align-items: flex-start;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .overlay-project-edit .card-path-hover {
        display: flex;
        align-items: flex-start;
        position: relative;
        flex: 1;
        flex-grow: 1;
    }

    .overlay-project-edit .card-path-default {
        display: flex;
        padding: var(--numbers-gaps-XS);
        flex: 1;
        align-self: stretch;
        flex-grow: 1;
        background-color: var(--colors-button-subdedube-secondary);
        border-radius: var(--numbers-roundness-m);
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .overlay-project-edit .text-wrapper-2 {
        position: relative;
        min-width: 300px;
        min-height:20px;
        flex: 1;
        font-family: var(--p-secondary-regular-font-family);
        font-weight: var(--p-secondary-regular-font-weight);
        color: var(--colors-text-accent-seconday);
        font-size: var(--p-secondary-regular-font-size);
        letter-spacing: var(--p-secondary-regular-letter-spacing);
        line-height: var(--p-secondary-regular-line-height);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        font-style: var(--p-secondary-regular-font-style);
        margin-bottom: -3px;
    }

.div-projectpath-placeholder:empty:not([contenteditable="true"])::before {
    content: attr(data-placeholder);
    color: grey;
    pointer-events: none;
}

/* Placeholder for when contenteditable is true */
.div-projectpath-placeholder:empty[contenteditable="true"]::before {
    content: attr(data-editable-placeholder);
    color: grey;
    pointer-events: none;
}

.overlay-project-edit .button-icon-empty {
    width: 36px;
    height: 36px;
    position: relative;
    border-radius: var(--general-roundness-XS);
    overflow: hidden;
}

    .overlay-project-edit .copy-2 {
        position: absolute;
        width: 17px;
        height: 17px;
        top: 9px;
        left: 9px;
    }

    .overlay-project-edit .comp-path {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--numbers-gaps-XXS);
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .overlay-project-edit .card-title-3 {
        color: var(--colors-text-secondary);
        font-size: var(--p-secondary-bold-font-size);
        line-height: var(--p-secondary-bold-line-height);
        -webkit-line-clamp: 1;
        position: relative;
        flex: 1;
        align-self: stretch;
        margin-top: -1px;
        font-family: var(--p-secondary-bold-font-family);
        font-weight: var(--p-secondary-bold-font-weight);
        letter-spacing: var(--p-secondary-bold-letter-spacing);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        font-style: var(--p-secondary-bold-font-style);
    }

    .overlay-project-edit .frame-2 {
        display: inline-flex;
        align-items: center;
        gap: var(--numbers-gaps-XXS);
        position: relative;
        flex: 0 0 auto;
    }

    .overlay-project-edit .card-path-default-2 {
        display: inline-flex;
        padding: var(--numbers-gaps-XXS) var(--numbers-gaps-XS) var(--numbers-gaps-XXS) var(--numbers-gaps-XS);
        flex: 0 0 auto;
        background-color: var(--colors-button-secondary);
        border-radius: var(--numbers-roundness-s);
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .overlay-project-edit .text-wrapper-3 {
        position: relative;
        font-family: var(--p-comments-font-family);
        font-weight: var(--p-comments-font-weight);
        color: var(--colors-text-secondary);
        font-size: var(--p-comments-font-size);
        letter-spacing: var(--p-comments-letter-spacing);
        line-height: var(--p-comments-line-height);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        padding-top: 2px;
        font-style: var(--p-comments-font-style);
        min-width: 10px;
        min-height: 12px;
    }

.overlay-project-edit .add-path-btn-text {
    position: relative;
    font-family: var(--p-comments-font-family);
    font-weight: var(--p-comments-font-weight);
    color: var(--colors-text-secondary);
    font-size: var(--p-comments-font-size);
    letter-spacing: var(--p-comments-letter-spacing);
    line-height: var(--p-comments-line-height);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    padding-top: 2px;
    font-style: var(--p-comments-font-style);
    pointer-events: none;
}

    .overlay-project-edit .chevron-right-round {
        position: relative;
        width: 9px;
        height: 9px;
        margin:0;
    }

#card-edit-confirm {
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    padding-bottom: 40px;
    align-self: stretch;
    width: 100%;
}

    #card-edit-confirm div {
        font-weight: 700;
    }

.overlay-project-edit .button-text-icon {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 132px;
    padding: 13px;
    position: relative;
    align-self: stretch;
    flex: 0 0 auto;
    border-radius: var(--general-roundness-XS);
    overflow: hidden;
}

.overlay-project-edit .text-wrapper-4 {
    /* color: var(--colors-text-accent-accent); */
    font-size: var(--p-regular-font-size);
    line-height: var(--p-regular-line-height);
    white-space: nowrap;
    position: relative;
    font-family: var(--p-regular-font-family);
    font-weight: var(--p-regular-font-weight);
    letter-spacing: var(--p-regular-letter-spacing);
    font-style: var(--p-regular-font-style);
}

    .overlay-project-edit .saveImg {
        position: relative;
        align-self: stretch;
        width: 24px;
    }

    .overlay-project-edit .button-icon-main {
        display:flex;
        align-items: center;
        justify-content:center;
        align-self: stretch;
        width: 50px;
        background-color: #fcf5f5;
        position: relative;
        border-radius: var(--general-roundness-XS);
        overflow: hidden;
        cursor: pointer;
    }

    .overlay-project-edit .cancelImg {
        position: relative;
        width: 24px;
        height: 24px;
    }

.card {
    background-color: var(--colors-bg-tretiery);
    height: auto;
    padding: var(--numbers-gaps-XS);
    border-radius: var(--numbers-roundness-m);
    margin: 0 7px 0 16px;
}

    .card:hover {
        background-color: #E6F1FE;
    }

    .card .cover {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        /* width: 252px; */
        height: 141px;
        background-color: var(--colors-bg-secondary);
        border-radius: var(--numbers-roundness-m);
        /* pointer-events: none; */
    }

    .card .card-vars {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .card .card-default {
        display: flex;
        flex-direction: column;
        width: auto;
        align-items: flex-start;
        gap: 20px;
        padding: var(--numbers-gaps-XS);
        position: relative;
        flex: 0 0 auto;
        background-color: var(--colors-bg-tretiery);
        border-radius: var(--numbers-roundness-m);
    }

    .preview {
        aspect-ratio: auto;
        height: 141px;
        width: 252px;
        border-radius: var(--numbers-roundness-m);
        cursor: pointer;        
    }

    .card .preview {
        position: absolute;
        /* pointer-events: none; */
    }

    .card .description {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--numbers-gaps-XS);
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        /* pointer-events: none; */
    }

    .card .card-title {
        position: relative;
        align-self: stretch;
        height: 52px;
        margin-top: 20px;
        font-family: var(--h-h4-font-family);
        font-weight: var(--h-h4-font-weight);
        color: var(--colors-text-primary);
        font-size: var(--h-h4-font-size);
        letter-spacing: var(--h-h4-letter-spacing);
        line-height: var(--h-h4-line-height);
        overflow: hidden;
        text-overflow: ellipsis;
        font-style: var(--h-h4-font-style);
    }

    .card:hover .card-title {
        color: #006EF0;
    }

    .card .card-path-vars {
        display: none;
        width: 100%;
        align-items: flex-start;
        position: relative;
        flex: 0 0 auto;
    }

    .card .card-path-default {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 0 var(--numbers-gaps-XS);
        position: relative;
        height: 36px;
        flex: 1;
        padding-right: 10px;
        flex-grow: 1;
        background-color: var(--colors-button-secondary);
        border-radius: var(--numbers-roundness-m);
    }

    .card:hover .card-path-default {
        background-color: #D8E9FD;
    }

    .card .path-text-wrapper {
        position: relative;
        flex: 1;
        font-family: var(--p-secondary-regular-font-family);
        font-weight: var(--p-secondary-regular-font-weight);
        color: var(--colors-text-secondary);
        font-size: var(--p-secondary-regular-font-size);
        letter-spacing: var(--p-secondary-regular-letter-spacing);
        line-height: var(--p-secondary-regular-line-height);
        overflow: hidden;
        text-overflow: ellipsis;
        font-style: var(--p-secondary-regular-font-style);
    }

    .card:hover .path-text-wrapper {
        color: #66A8F6;
    }

    .card .copy-wrapper {
        position: relative;
        width: 36px;
        height: 36px;
        border-radius: var(--general-roundness-XS);
        overflow: hidden;
    }

.copy-btn {
    width: 20px;
    height: 20px;
    cursor: pointer;
    fill: var(--colors-icon-accent-secondary);
}

    .copy-btn.copy-btn__small {
        width: 11px;
        height: 11px;
        fill: var(--colors-icon-secondary);
    }

.card:hover .copy-btn path {
    fill: #66A8F6;
}


#card-delete-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 5px;
    padding-top: 9px;
    cursor: pointer;
    position: absolute;
    left: 551px;
}

.card-delete-img {
    /* position: absolute; */
    /* left: 260px; */
}