/* Συνημμένα ανακοινώσεων */
.dmatt-pdf { --dmatt-c: #d64541; } .dmatt-doc { --dmatt-c: #2b6cc4; } .dmatt-xls { --dmatt-c: #1f8a4c; } .dmatt-img { --dmatt-c: #7a4fb5; } .dmatt-file { --dmatt-c: #6b7285; }
.dmatt-ext { flex: 0 0 auto; min-width: 44px; padding: 5px 6px; border-radius: 5px; background: var(--dmatt-c, #6b7285); color: #fff; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .04em; text-align: center; }

/* Στο άρθρο (σκούρο φόντο) */
.dmatt-box { margin: 34px 0 10px; padding: 20px 22px; background: #3b4152; border-radius: 10px; border-left: 4px solid #df9a2a; }
.dmatt-title { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: #fff; }
.dmatt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.dmatt-list li { margin: 0; padding: 0; }
.dmatt-list li::before { display: none; }
.dmatt-item { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #e4e7ee !important; text-decoration: none !important; transition: background .15s, border-color .15s; }
.dmatt-item:hover { background: rgba(255,255,255,.13); border-color: #df9a2a; }
.dmatt-item .dmatt-name { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.dmatt-item .dmatt-size { font-size: 12px; color: #aeb4c2; white-space: nowrap; }
.dmatt-item .dmatt-dl { font-size: 12px; font-weight: 700; color: #df9a2a; white-space: nowrap; }

/* Στη φόρμα (λευκή κάρτα) */
.dmatt-field { display: flex; flex-direction: column; gap: 12px; }
.dmatt-existing, .dmatt-pending { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dmatt-pending:empty { display: none; }
.dmatt-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #dfe3ea; border-radius: 8px; background: #f7f8fa; color: #202c3a; }
.dmatt-row .dmatt-name { flex: 1; min-width: 0; font-size: 14px; color: #202c3a; overflow-wrap: anywhere; }
.dmatt-row a.dmatt-name:hover { color: #b8740a; }
.dmatt-row .dmatt-size { font-size: 12px; color: #6b7285; white-space: nowrap; }
.dmatt-new { background: #fff8ea; border-color: #f0d49c; }
.dmatt-remove { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: #c0392b; cursor: pointer; white-space: nowrap; }
.dmatt-remove input { margin: 0; accent-color: #c0392b; }
.dmatt-row:has(.dmatt-remove input:checked) { opacity: .55; text-decoration: line-through; }
.dmatt-x { border: 0; background: transparent; color: #8a91a3; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.dmatt-x:hover { color: #c0392b; }
.dmatt-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 26px 16px; border: 2px dashed #c3c9d4; border-radius: 10px; background: #fafbfc; color: #4a5263; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dmatt-drop:hover, .dmatt-drop.is-over, .dmatt-drop:focus-within { border-color: #df9a2a; background: #fff8ea; }
.dmatt-drop-icon { color: #df9a2a; }
.dmatt-drop-text { font-size: 15px; }
.dmatt-drop-text u { color: #b8740a; }
.dmatt-drop-hint { font-size: 12.5px; color: #6b7285; }
.dmatt-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dmatt-errors { padding: 9px 12px; border-radius: 6px; background: #fdecea; color: #a12a1f; font-size: 13.5px; }
