.upload-icon::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../../img/angular/upload.svg) no-repeat;
    background-size: contain;
    cursor: pointer;
    transition: width 0.4s ease;
}

.upload-zone {
    margin-bottom: 12px;
    border: 2px dashed #232558;
    border-radius: 4px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    max-width: 300px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone.error {
    border: 2px dashed #ff531f;
}

.upload-zone.hide {
    display: none;
}

.upload-zone:hover {
    border-color: #f59e0b;
    background-color: #fefbf3;
}

.upload-zone.drag-over {
    border-color: #f59e0b;
    background-color: #fef3c7;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-text {
    text-align: center;
}

.main-text {
    color: #232558;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;

}

.browse-link {
    color: #026096;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0;
    text-decoration: underline;
    text-decoration-style: solid;
}

.browse-link:hover {
    color: #232558;
    text-decoration: underline;
}

p.info {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}

p.info::before {
    content: '';
    display: inline-block;
    width: 18px;
    background: url(../../img/angular/offres/info.svg) no-repeat;
    height: 18px;
    margin-right: 4px;
    vertical-align: text-bottom;
    cursor: pointer;
}

.file-input {
    display: none;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #C8D0D8;
    padding: 8px 0;
    gap: 5px;
}

.selected-files {
    max-width: 400px;
    margin-top: 2rem;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item span {
    font-size: 12px;
    font-weight: 600;
    color: #232558;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}

.file-size {
    color: #6b7280 !important;
    font-size: 12px !important;
}

.remove-btn {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    min-width: 18px;
    height: 18px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-block span:before {
    content: '';
    background: url(../../img/edito/icone/alert.svg) no-repeat left center;
    display: inline-block;
    width: 18px;
    height: 18px;
    transform: scale(0.7);
    background-size: contain;
    position: absolute;
    left: 0;
    top: -2px;
}

.upload-container .error-block {
    flex: 0 1 100%;
    margin: 4px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-container .error-block span {
    color: #e73b2b;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    font-weight: 600;
}

.upload-container .error-block span a {
    text-decoration: underline !important;
    cursor: pointer;
}

.remove-btn::before {
    content: '';
    display: inline-block;
    vertical-align: text-bottom;
    cursor: pointer;
    background-color: #fff;
    mask: url(../../img/angular/offres/close.svg) no-repeat center;
    -webkit-mask: url(../../img/angular/offres/close.svg) no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    width: 16px;
    height: 16px;
}

.upload-container .file-input-btn {
    display: none;
}

.upload-container .file-input-btn + label:before {
    content: "";
    display: inline-block;
    vertical-align: sub;
    background: url(../../img/angular/common/paper-clip.svg) no-repeat center;
    background-size: 90%;
    width: 16px;
    height: 16px;
}

.upload-container .file-input-btn + label {
    border: 2px solid #fdc300;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border-radius: 0.4rem;
    padding: 0.4rem 0.8rem;
}

.list-pjs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.list-pjs .pj-item .progress-container .progress-bar {
    height: 0.4rem;
    background: #acaeda;
}

.list-pjs .pj-item .progress-container {
    height: 0.4rem;
    width: 100%;
    background: #DCDDF1;
}

.list-pjs .pj-item:before {
    content: "";
    width: 16px;
    height: 20px;
    background: url(../../img/angular/common/file.svg) center center no-repeat;
}

.list-pjs .pj-item .pj-description .pj-size {
    font-size: 1rem;
    line-height: 1;
}

.list-pjs .pj-item .pj-description .pj-name {
    font-weight: 400;
    font-size: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    white-space: nowrap;
}

.list-pjs .pj-item .pj-description {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    max-width: calc(100% - 48px);
    min-height: 28px;
}

.list-pjs .pj-item {
    box-sizing: border-box;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    width: 22rem;
    color: #232558;
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1.2;
    flex-wrap: wrap;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(172, 174, 218);
    border-radius: 0.4rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
}

i.remove {
    content: '';
    display: inline-block;
    vertical-align: text-bottom;
    cursor: pointer;
    background-color: #232558;
    mask: url(../../img/angular/common/deletel_white.svg) no-repeat center;
    -webkit-mask: url(../../img/angular/offres/close.svg) no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    width: 16px;
    height: 16px;
}

.list-pjs .pj-item.local-status {
    animation: flash 1.5s ease-in-out infinite;
}

.list-pjs .pj-item.pj-item-error {
    border-color: #e73b2b;
    color: #e73b2b;
}

.list-pjs .pj-item:focus {
    border-width: 2px;
}

@keyframes flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .list-pjs .pj-item {
        flex-grow: 1;
    }
    .upload-zone {
        padding: 30px 16px;
    }
}