input[type=date].form-control, input[type=time].form-control, input[type=datetime-local].form-control, input[type=month].form-control {
    line-height: 19px;
}

.timeline-body {
    word-wrap: break-word;
}

.timeline-footer {
    display: flex;
    flex-flow: row wrap;
}

.timeline-footer label {
    padding: 0.5rem 0.6rem;
}

textarea {
    max-width: 100%;
    max-height: 100%;
    resize: vertical;
}

.dropzone {
    border: 2px dashed #0087F7
}

@media only screen and (max-width: 768px) {
    .select-user {
        width: 220px
    }
}
@media only screen and (max-width: 768px) {
    .select-contacts-list {
        width: 125px
    }
}

/* Fichier : bouton + libellé (remplace l’apparence native « Choose file ») */
.gw-file-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    width: 100%;
    max-width: 100%;
}

.gw-file-input__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.gw-file-input__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8125rem;
    border-radius: 8px;
    padding: 8px 14px;
    border: 1px solid #d4d4d4;
    background: #fafafa;
    color: #0a0a0a;
    line-height: 1.3;
}

.gw-file-input__btn:hover,
.gw-file-input__btn:focus {
    background: #f0f0f0;
    border-color: #c4c4c4;
    color: #0a0a0a;
    outline: none;
}

.gw-file-input__name {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    color: #525252;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gw-file-input--compact .gw-file-input__name {
    flex: 1 1 100%;
    white-space: normal;
    word-break: break-word;
}

.gw-file-input--inline {
    flex-wrap: nowrap;
    align-items: stretch;
}

.gw-file-input--inline .gw-file-input__name {
    flex: 1 1 auto;
    align-self: center;
}

.gw-file-input--inline .gw-file-input__btn + .gw-file-input__name {
    max-width: min(220px, 40vw);
}

@media (max-width: 520px) {
    .gw-file-input--inline {
        flex-wrap: wrap;
    }
}
