/* The client's Files (#FeosClientFiles, feos:views/client-files) — Files 2.0 b, view A (Peter, 1 Nov 2026): the cases as
   tabs, folders that fold, one file one line, the file on the right. */
.feos-cfb { padding: 16px 24px 28px; max-width: 1500px; margin: 0 auto; }
.feos-cfb-loading, .feos-cfb-empty { padding: 40px; text-align: center; }
.feos-cfb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.feos-cfb-eyebrow { font-size: 13px; }
.feos-cfb-eyebrow a { color: var(--feos-accent, #0a72ba); text-decoration: none; }
.feos-cfb-head h1 { margin: 2px 0 0; font-size: 26px; font-weight: 700; color: var(--feos-ink, #0f1b26); }
.feos-cfb-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.feos-cfb-searchbox { display: flex; align-items: center; gap: 8px; margin: 0; height: 38px; width: 320px; max-width: 100%; padding: 0 12px;
    background: #fff; border: 1px solid #d9e1e8; border-radius: 8px; color: #5b6875; font-weight: normal; }
.feos-cfb-searchbox input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; color: var(--feos-ink, #0f1b26); background: transparent; }
.feos-cfb-searchbox:focus-within { border-color: var(--feos-accent, #0a72ba); box-shadow: 0 0 0 2px rgba(10, 114, 186, .15); }

/* the cases as tabs */
.feos-cfb-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 1px solid #d9e1e8; }
.feos-cfb-tab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px;
    background: transparent; color: #33485c; font-size: 14px; cursor: pointer; }
.feos-cfb-tab:hover { background: #eef3f8; }
.feos-cfb-tab.active { background: #fff; color: #075a93; font-weight: 600; border-color: #d9e1e8; box-shadow: 0 1px 2px rgba(15, 27, 38, .06); }
.feos-cfb-tab.is-new .feos-cfb-n { background: #2e7d32; color: #fff; }
.feos-cfb-n { min-width: 22px; padding: 0 7px; border-radius: 10px; background: #eef1f4; color: #5b6875; font-size: 12px; font-weight: 600;
    text-align: center; line-height: 20px; }

/* the list and the file */
.feos-cfb-body { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.feos-cfb-list { flex: 3 1 600px; min-width: 0; background: #fff; border: 1px solid #e1e7ee; border-radius: 12px; overflow: hidden; }
.feos-cfb-view { flex: 2 1 420px; min-width: 0; position: sticky; top: 60px; height: calc(100vh - 90px); min-height: 480px;
    background: #fff; border: 1px solid #e1e7ee; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.feos-cfb-cols, .feos-cfb-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 190px 92px; gap: 12px; align-items: center; padding: 0 16px; }
.feos-cfb-cols { height: 34px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #5b6875; border-bottom: 1px solid #e6ebf0; }
.feos-cfb-cols span:last-child { text-align: right; }
.feos-cfb-folder { display: flex; align-items: center; gap: 10px; width: 100%; height: 44px; padding: 0 16px; border: 0; border-bottom: 1px solid #e6ebf0;
    background: #f7f9fb; color: var(--feos-ink, #0f1b26); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.feos-cfb-folder:hover { background: #eef3f8; }
.feos-cfb-twist { width: 12px; font-size: 11px; color: #5b6875; }
.feos-cfb-folder-ic { width: 16px; text-align: center; color: #c58a10; }
.feos-cfb-folder .fa-house, .feos-cfb-folder .fa-shield-halved { color: var(--feos-accent, #0a72ba); }
.feos-cfb-folder-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feos-cfb-folder .feos-cfb-n { font-weight: 500; }
.feos-cfb-folder.is-new .feos-cfb-n { background: #2e7d32; color: #fff; }
.feos-cfb-folder.is-over, .feos-cfb-tab.is-over { background: #e3f4e8 !important; box-shadow: inset 0 0 0 2px #2e7d32; }
.feos-cfb-folder.is-refused, .feos-cfb-tab.is-refused { background: #fbeaea !important; box-shadow: inset 0 0 0 2px #c62828; cursor: no-drop; }
.feos-cfb.is-moving [data-drop-group], .feos-cfb.is-moving [data-drop-tab] { outline: 1px dashed #8fbf9a; outline-offset: -2px; }
.feos-cfb-rows { list-style: none; margin: 0; padding: 0; }
.feos-cfb-row { height: 42px; border-bottom: 1px solid #f0f3f6; cursor: pointer; outline: none; font-size: 14px; }
.feos-cfb-row:hover { background: #f5f8fb; }
.feos-cfb-row:focus-visible { box-shadow: inset 0 0 0 2px var(--feos-accent, #0a72ba); }
.feos-cfb-row.active { background: #e8f3fb; box-shadow: inset 3px 0 0 var(--feos-accent, #0a72ba); }
.feos-cfb-row.is-picked { background: #eef6ff; box-shadow: inset 3px 0 0 #5a9fd6; }
.feos-cfb-row.is-new { animation: feos-cfb-new 2.4s ease-out 1; }
.feos-cfb-row[draggable="true"] { cursor: grab; }
.feos-cfb-ic { font-size: 16px; text-align: center; color: #7b8794; }
.feos-cfb-ic-pdf { color: #c62828; }
.feos-cfb-ic-jpg, .feos-cfb-ic-jpeg, .feos-cfb-ic-png, .feos-cfb-ic-heic { color: #6a1b9a; }
.feos-cfb-ic-doc, .feos-cfb-ic-docx { color: #1565c0; }
.feos-cfb-ic-xls, .feos-cfb-ic-xlsx, .feos-cfb-ic-csv { color: #2e7d32; }
.feos-cfb-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--feos-ink, #0f1b26); }
.feos-cfb-kind { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: #33485c; }
.feos-cfb-date { text-align: right; font-size: 13px; color: #5b6875; white-space: nowrap; }
.feos-cfb-new { display: inline-block; margin-left: 8px; padding: 0 6px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .03em; vertical-align: 1px; background: #2e7d32; color: #fff; }
@keyframes feos-cfb-new { 0% { background: #d9f2df; } 100% { background: transparent; } }
.feos-cfb-picked { padding: 8px 16px; font-size: 13px; background: #eef6ff; color: #075a93; border-bottom: 1px solid #d6e6f5; }
.feos-cfb-none { padding: 30px; text-align: center; color: #5b6875; }
.feos-cfb-tip { padding: 12px 16px; font-size: 13px; color: #5b6875; }
.feos-cfb-ghost { position: fixed; top: -100px; left: -100px; padding: 4px 10px; border-radius: 12px; background: #0a72ba; color: #fff;
    font-size: 12px; font-weight: 600; }

.feos-cfb-view-empty { margin: auto; text-align: center; color: #5b6875; }
.feos-cfb-view-empty .far { font-size: 40px; margin-bottom: 8px; opacity: .5; }
.feos-cfb-view-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid #e6ebf0; }
.feos-cfb-view-title { flex: 1 1 200px; min-width: 0; }
.feos-cfb-view-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feos-cfb-view-line { font-size: 13px; color: #5b6875; }
.feos-cfb-view-acts { display: flex; gap: 6px; }
.feos-cfb-atts { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 16px; }
.feos-cfb-frame { flex: 1 1 auto; min-height: 320px; display: flex; background: #eef1f4; }
.feos-cfb-frame > .text-muted { margin: auto; }
.feos-cfb-frame iframe { flex: 1; width: 100%; border: 0; min-height: 320px; background: #fff; }
.feos-cfb-img { flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: center; padding: 10px; }
.feos-cfb-img img { max-width: 100%; height: auto; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); background: #fff; }
.feos-cfb-noshow { margin: auto; text-align: center; color: #5b6875; }
.feos-cfb-noshow .fas { font-size: 38px; margin-bottom: 8px; }
.feos-cfb-was { padding: 8px 16px; font-size: 12px; color: #5b6875; border-top: 1px solid #e6ebf0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feos-cfb-restricted { margin-top: 10px; color: #5b6875; }
@media (max-width: 1100px) {
    .feos-cfb-view { position: static; height: 70vh; }
}
@media (max-width: 760px) {
    .feos-cfb { padding: 12px 16px; }
    .feos-cfb-cols, .feos-cfb-row { grid-template-columns: 22px minmax(0, 1fr) 84px; }
    .feos-cfb-cols span:nth-child(3), .feos-cfb-kind { display: none; }
    .feos-cfb-searchbox { width: 100%; }
}
/* the button on the client's page and in the Documents panel */
.feos-cf-browse { margin-left: 4px; }

/* All files (Peter and Natalia, 2 Nov 2026): the first tab; what a file is under its name, where it is in the next column */
.feos-cfb-tab-all { border-right: 1px solid #d9e1e8; margin-right: 6px; }
.feos-cfb-sub { margin-left: 8px; font-size: 12px; color: #6b7c8c; }
/* Remove (Natalia, 2 Nov 2026) */
.feos-cfb-remove { color: #b3261e; }
.feos-cfb-remove:hover { color: #fff; background: #b3261e; border-color: #b3261e; }
