/* Check-in: temă închisă, pentru seară și lumină slabă. Totul se folosește cu o singură mână. */

.ci { max-width: 640px; margin: 0 auto; padding: 16px 16px 96px; display: flex; flex-direction: column; gap: 16px; }

.ci-prog { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: var(--d-surface); }
.ci-prog .row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ci-prog .row span { font-size: 15px; color: var(--d-muted); }
.ci-prog b { font-family: var(--display); font-size: 32px; line-height: 1; }
.ci-prog .sub { font-size: 13px; color: var(--d-muted); }
.ci-orgs { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ci-org { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.dbar { height: 8px; border-radius: 999px; background: #24382F; overflow: hidden; }
.dbar > i { display: block; height: 100%; border-radius: 999px; background: var(--d-ok); transition: width .25s; }

.ci-find { display: flex; flex-direction: column; gap: 8px; }
.search.big { height: 56px; border: 0; border-radius: 14px; background: #F4F7F3; color: #3D4A43; padding: 0 16px; }
.search.big:focus-within { outline: 2px solid #7FB2F0; outline-offset: 2px; }
.search.big input { font-size: 18px; color: #14201B; }
.search.big input::placeholder { color: #6B766F; }

.ci-tabs { display: flex; gap: 8px; }
.ci-tab { min-height: 48px; padding: 0 20px; border: 1px solid var(--d-line); border-radius: 999px; background: transparent; color: var(--d-muted); font-size: 15px; font-weight: 600; }
.ci-tab[aria-pressed="true"] { background: #F4F7F3; border-color: #F4F7F3; color: var(--pine); }

.ci-h { margin: 0 4px 8px; font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--d-muted); }
.ci-rows { display: flex; flex-direction: column; gap: 8px; }
.ci-row { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--d-surface); }
.ci-row.just { background: #1F4A37; }
.ci-main { flex: 1; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.ci-txt { display: flex; flex-direction: column; min-width: 0; }
.ci-txt b { font-size: 17px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.ci-txt > span { font-size: 14px; color: var(--d-muted); overflow-wrap: anywhere; }
/* Numele și pastila RBC / WIN pe același rând: numele se rupe dacă e lung, pastila rămâne întreagă. */
.ci-txt > .ci-name { display: flex; align-items: center; gap: 8px; color: inherit; }
.ci-name b { min-width: 0; }
.btn-ci { flex: none; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--d-ok); color: #0B1A13; font-size: 15px; font-weight: 700; transition: transform .15s; }
.btn-ci:active { transform: scale(0.96); }
.arr { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; font-size: 15px; font-weight: 600; color: #7FE0AE; }

.ci-tbl { border-radius: 14px; background: var(--d-surface); }
.ci-tbl summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 16px 8px 12px; cursor: pointer; border-radius: 14px; }
.ci-tbl summary::-webkit-details-marker { display: none; }
.ci-tbl summary .ci-txt { flex: 1; }
.ci-tbl .cnt { flex: none; font-size: 14px; font-weight: 600; color: var(--d-muted); }
.ci-tbl .ci-rows { padding: 0 8px 8px; }
.ci-tbl .ci-row { background: var(--d-surface-2); }
.ci-tbl .empty-msg { padding: 8px 8px 16px; }
