
/* Attachments field (every CALAPEX form): up to 10 MB in total */
.field--file .fdrop__input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fdrop { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border: 1px dashed var(--limestone); background: var(--alabaster); color: var(--basalt); cursor: pointer; transition: background-color .2s ease-out, border-color .2s ease-out; text-transform: none !important; letter-spacing: 0 !important; font: 400 1rem/1.4 var(--latin) !important; }
[lang="ar"] .fdrop { font: 400 16px/1.6 var(--arabic) !important; }
.fdrop__ico { flex: none; width: 22px; height: 22px; }
.fdrop__ico path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }
.fdrop__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fdrop__main { font-weight: 500; }
.fdrop__hint { font-size: .8125rem; color: var(--espresso); }
[lang="ar"] .fdrop__hint { font-size: 14px; }
.fdrop:hover, .field--file.is-drag .fdrop { border-color: var(--basalt); border-style: solid; }
.fdrop__input:focus-visible + .fdrop { outline: 2px solid var(--basalt); outline-offset: 2px; }
.flist { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.flist:empty { display: none; }
.flist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 6px 6px 6px 12px; border: 1px solid var(--limestone); font-size: .875rem; }
[dir="rtl"] .flist li { padding: 6px 12px 6px 6px; }
.flist__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flist__size { flex: none; color: var(--espresso); margin-inline-start: auto; }
.flist__rm { flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.flist__rm path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.flist__total { font-size: .8125rem; color: var(--espresso); }
.field--file.is-invalid .fdrop { border-color: #8E3B2F; border-style: solid; }
/* on the Espresso consultation band */
.c3-form .fdrop { background: transparent; color: var(--travertine); border-color: var(--bronze-light); }
.c3-form .fdrop__ico { color: var(--bronze-light); }
.c3-form .fdrop__hint, .c3-form .flist__size, .c3-form .flist__total { color: var(--limestone); }
.c3-form .fdrop:hover, .c3-form .field--file.is-drag .fdrop { border-color: var(--bronze-light); background-color: rgba(201, 174, 132, .12); }
.c3-form .fdrop__input:focus-visible + .fdrop { outline: 2px solid var(--bronze-light); }
.c3-form .flist li { border-color: rgba(201, 174, 132, .5); color: var(--travertine); }
.c3-form .flist__rm { color: var(--bronze-light); }
.c3-form .field--file.is-invalid .fdrop { border-color: #E9A28F; }
