/* Losada Portal - Client Documents. Colors follow the LCi website (gray #241e20, green #74c04f / #1f6b2a). */
.losada-docs h3 small { font-weight: normal; color: #666; font-size: 0.7em; }
.losada-docs-sub { color: #555; }
.losada-docs-crumbs { font-size: 0.9em; margin-bottom: 0.25em; }
.losada-docs-bad { background: #fdeeee !important; color: #8a1f1f; }
.losada-docs-search { margin: 0.5em 0 1em; display: flex; gap: 0.5em; align-items: center; flex-wrap: wrap; }
.losada-docs-search input[type="search"] { min-width: 24em; max-width: 100%; padding: 0.4em; }

.losada-docs-tabs { display: flex; flex-wrap: wrap; gap: 0.4em; margin: 1em 0 0.75em; border-bottom: 2px solid #e2e0da; }
.losada-docs-tabs a { padding: 0.5em 0.9em; border-radius: 8px 8px 0 0; text-decoration: none; color: #241e20; background: #f7f6f2; border: 1px solid #e2e0da; border-bottom: none; font-weight: 600; font-size: 0.95em; }
.losada-docs-tabs a.is-active { background: #241e20; color: #fff; border-color: #241e20; }
.losada-docs-tabs a span { display: inline-block; min-width: 1.4em; padding: 0 0.4em; border-radius: 10px; background: #ddf2d3; color: #1f6b2a; font-size: 0.8em; text-align: center; margin-left: 0.25em; }
.losada-docs-tabs a.is-active span { background: #74c04f; color: #241e20; }

.losada-docs-note { background: #f7f6f2; border: 1px solid #e2e0da; border-radius: 8px; padding: 0.6em 0.9em; }
.losada-docs-table td { vertical-align: top; }
.losada-docs-table small { color: #666; }
.losada-docs-notes { color: #4a4a45; font-style: italic; }
.losada-docs-actions a { margin-right: 0.6em; white-space: nowrap; }
.losada-docs-actions form, .losada-docs-table td form { display: inline; }
.losada-docs-linkbtn { background: none !important; border: none !important; padding: 0 !important; color: #8a1f1f !important; text-decoration: underline; cursor: pointer; font-size: 0.9em; margin-left: 0.4em; }
.losada-docs-pill { display: inline-block; padding: 0.1em 0.6em; border-radius: 10px; font-size: 0.8em; font-weight: 600; background: #eee; color: #444; }
.losada-docs-pill.is-shared { background: #ddf2d3; color: #1f6b2a; }
.losada-docs-hist { margin-top: 0.3em; font-size: 0.9em; }
.losada-docs-hist ul { margin: 0.3em 0 0 1.2em; }

.losada-docs-upload { margin: 0.75em 0 1.25em; border: 1px solid #e2e0da; border-radius: 8px; padding: 0.5em 0.9em; background: #fcfcfa; }
.losada-docs-upload summary { cursor: pointer; font-weight: 600; color: #1f6b2a; }
.losada-docs-upload form { margin-top: 0.75em; display: grid; gap: 0.6em; max-width: 720px; }
.losada-docs-upload label { display: flex; flex-direction: column; gap: 0.2em; font-weight: 600; font-size: 0.95em; }
.losada-docs-upload label small { font-weight: normal; color: #666; }
.losada-docs-upload label.losada-docs-check { flex-direction: row; align-items: center; gap: 0.5em; font-weight: normal; }
.losada-docs-upload input[type="text"], .losada-docs-upload input[type="date"], .losada-docs-upload input[type="number"], .losada-docs-upload select { padding: 0.4em; max-width: 100%; }
.losada-docs-upload button[type="submit"] { justify-self: start; }
.losada-docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.6em 1em; }
.losada-docs-grid .losada-docs-wide { grid-column: 1 / -1; }

.losada-docs-class { border: 1px solid #e2e0da; border-radius: 10px; padding: 0.75em 1em; margin: 1em 0; background: #fff; }
.losada-docs-class h4 { margin: 0 0 0.25em; }
.losada-docs-date { display: inline-block; background: #241e20; color: #fff; border-radius: 6px; padding: 0.1em 0.5em; font-size: 0.85em; margin-right: 0.4em; }
.losada-docs-meta { color: #4a4a45; margin: 0 0 0.5em; font-size: 0.95em; }

/* 1.1.0 */
.losada-docs-cb { width: 1.8em; text-align: center; }
.losada-docs-cb input { transform: scale(1.15); }
.losada-docs-sort { color: inherit; text-decoration: none; white-space: nowrap; }
.losada-docs-sort:hover { text-decoration: underline; }
.losada-docs-bulk { display: flex; flex-wrap: wrap; gap: 0.5em; align-items: center; margin: 0.4em 0 1em; padding: 0.5em 0.7em; background: #f7f6f2; border: 1px solid #e2e0da; border-radius: 8px; font-size: 0.95em; }
.losada-docs-bulk select, .losada-docs-bulk input[type="date"] { padding: 0.3em; }
.losada-docs-bulk-count { color: #4a4a45; }
.losada-docs-lciid { white-space: nowrap; font-family: Consolas, "Courier New", monospace; background: #f0efe9; padding: 0 0.35em; border-radius: 4px; }
.losada-docs-muted { color: #777; }
.losada-docs-exp { white-space: nowrap; font-size: 0.9em; }
.losada-docs-exp.is-soon { color: #8a4b00; font-weight: 600; }
.losada-docs-exp.is-expired { color: #fff; background: #b71c1c; border-radius: 10px; padding: 0.1em 0.6em; font-weight: 600; }
.losada-docs-people { list-style: none; padding: 0; }
.losada-docs-people li { padding: 0.35em 0; border-bottom: 1px solid #eee; }
.losada-docs-editbox { max-width: 760px; }
.losada-docs-editbox form { margin-top: 0; }
.losada-docs-danger button { background: #fff; color: #b71c1c; border: 1px solid #b71c1c; border-radius: 6px; padding: 0.4em 0.9em; cursor: pointer; }
.losada-docs-personblock { margin-top: 1.5em; }
