/* et-uploader.css — file chips, upload progress, loading overlay, result modal (2026-11-04) */
.et-files { background: transparent; padding: 0; margin: 10px 0 0; text-align: left; font-family: Poppins-Regular, Poppins, Arial, sans-serif; }
.et-files__hint { font-size: 12px; line-height: 16px; color: #8a8a82; padding: 4px 2px 0; text-align: center; }
.et-files__flash { font-size: 12px; color: #b3261e; padding: 4px 2px; }
.et-file { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 6px 0; background: #fff; border: 1px solid #e6e6e2; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: border-color .2s, background .2s; }
.et-file__icon { flex: 0 0 auto; color: #9a9a92; display: flex; }
.et-file__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.et-file__name { font-size: 13px; line-height: 17px; color: #3F3F38; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et-file__meta { font-size: 11px; line-height: 14px; color: #8a8a82; display: flex; align-items: center; gap: 4px; }
.et-file__status { display: inline-flex; align-items: center; gap: 4px; }
.et-file__bar { display: block; height: 4px; border-radius: 2px; background: #efefeb; overflow: hidden; }
.et-file__bar i { display: block; height: 100%; width: 0; background: #F7C900; transition: width .2s ease; }
.et-file__remove { flex: 0 0 auto; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #f1f1ed; color: #3F3F38; font-size: 18px; line-height: 26px; padding: 0; cursor: pointer; }
.et-file__remove:hover { background: #3F3F38; color: #fff; }
.et-file__retry { display: none; flex: 0 0 auto; border: 1px solid #F7C900; background: #fff; color: #3F3F38; border-radius: 12px; font-size: 11px; font-weight: 600; padding: 3px 9px; cursor: pointer; }
.et-file__retry:hover { background: #F7C900; }
.et-file--done { border-color: #d9edd2; }
.et-file--done .et-file__bar i { background: #3fa34d; }
.et-file--done .et-file__status { color: #2f8a3c; }
.et-file--done .et-file__icon { color: #3fa34d; }
.et-file--error, .et-file--invalid, .et-file--blocked { border-color: #f3c6c4; background: #fff8f7; }
.et-file--error .et-file__bar i, .et-file--invalid .et-file__bar i, .et-file--blocked .et-file__bar i { background: #E35D5B; }
.et-file--error .et-file__status, .et-file--invalid .et-file__status, .et-file--blocked .et-file__status { color: #b3261e; }
.et-file--error .et-file__retry { display: inline-block; }
.et-dragover { outline: 2px dashed #F7C900 !important; outline-offset: 2px; }
.et-btn-busy { opacity: .6 !important; cursor: wait !important; }

/* ---- loading overlay */
.et-no-scroll, .et-no-scroll body { overflow: hidden; }
.et-overlay { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.82); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .2s; }
.et-overlay.is-visible { opacity: 1; visibility: visible; }
.et-overlay__box { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 36px; background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.15); font-family: Poppins-Regular, Poppins, Arial, sans-serif; }
.et-overlay__text { font-size: 15px; font-weight: 600; color: #3F3F38; }
.et-spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #f1f1ed; border-top-color: #F7C900; animation: et-spin .8s linear infinite; }
@keyframes et-spin { to { transform: rotate(360deg); } }

/* ---- result modal */
.et-modal { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: Poppins-Regular, Poppins, Arial, sans-serif; opacity: 0; visibility: hidden; transition: opacity .2s; }
.et-modal.is-visible { opacity: 1; visibility: visible; }
.et-modal__backdrop { position: absolute; inset: 0; background: rgba(40,40,36,.55); }
.et-modal__card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 36px 28px 28px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.25); transform: translateY(12px); transition: transform .25s; outline: none; }
.et-modal.is-visible .et-modal__card { transform: translateY(0); }
.et-modal__x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; background: transparent; font-size: 26px; line-height: 32px; color: #9a9a92; cursor: pointer; }
.et-modal__x:hover { color: #3F3F38; }
.et-modal__icon { display: flex; justify-content: center; margin-bottom: 14px; }
.et-modal__title { margin: 0 0 8px; font-size: 22px; line-height: 28px; font-weight: 700; color: #3F3F38; text-transform: none; }
.et-modal__body { font-size: 14px; line-height: 21px; color: #5c5c55; margin-bottom: 22px; }
.et-modal__btn { min-width: 140px; border: 0; border-radius: 20px; padding: 10px 26px; background: #3F3F38; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.et-modal__btn:hover { background: #F7C900; color: #3F3F38; }
.et-modal--error .et-modal__btn { background: #3F3F38; }
@media (max-width: 480px) { .et-modal__card { padding: 30px 18px 22px; } .et-file__retry { display: none !important; } .et-file--error .et-file__status { text-decoration: underline; } }
