html { font-size: 15px; min-height: 100%; }
body { background: linear-gradient(rgba(245, 247, 251, .82), rgba(245, 247, 251, .82)), url('/images/app-background.jpg') center center / cover fixed no-repeat; color: #243045; margin-bottom: 60px; font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
.organization-banner { background: #103f54; color: #fff; }
.organization-banner-content { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.organization-identity { color: #fff; text-decoration: none; display: flex; align-items: center; gap: .9rem; min-width: 0; }
.organization-identity:hover { color: #fff; }
.organization-mark { width: 2.7rem; height: 2.7rem; border: 2px solid #b8e0dc; border-radius: 50%; flex: none; background: #d9c89e url('/images/app-background.jpg') center top / 430% auto no-repeat; box-shadow: 0 2px 7px rgba(0, 0, 0, .22); }
.organization-text { display: flex; flex-direction: column; min-width: 0; }
.organization-text strong { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.organization-text small { color: #b8d2d7; margin-top: .15rem; }
.app-navbar { background: linear-gradient(110deg, #135b7a, #197265); min-height: 50px; }
.app-navbar .nav-link { color: rgba(255, 255, 255, .85) !important; padding-inline: .8rem !important; }
.app-navbar .nav-link:hover { color: #fff !important; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.page-heading h1 { margin-bottom: .25rem; }
.page-heading p { margin-bottom: 0; }
.panel { background: #fff; border: 1px solid #e7ebf1; border-radius: 14px; padding: 1.25rem; box-shadow: 0 3px 12px rgba(31, 45, 61, .035); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 1px solid #edf0f4; }
.panel-title a { font-size: .9rem; text-decoration: none; }
.stat-card { height: 100%; background: #eaf4fb; border-radius: 14px; padding: 1.2rem; border-right: 5px solid #1d759b; display: flex; flex-direction: column; gap: .2rem; }
.stat-card.purple { background: #f0edfb; border-color: #7253bd; }
.stat-card.green { background: #e9f7f0; border-color: #25815d; }
.stat-card.orange { background: #fff3e5; border-color: #dd8a28; }
.stat-card span, .stat-card small { color: #66758a; }
.stat-card strong { font-size: 1.7rem; line-height: 1.25; color: #22344d; }
.status-list { display: grid; gap: .7rem; }
.status-row { display: flex; justify-content: space-between; border-bottom: 1px solid #edf0f4; padding-bottom: .65rem; }
.status-row strong { color: #17698a; }
.balance-box { background: #eff8f6; border-radius: 10px; padding: 1rem; display: flex; justify-content: space-between; color: #21634d; }
.balance-box strong { font-size: 1.15rem; }
.empty-state { color: #7b8794; text-align: center; margin: 1.5rem 0 .5rem; }
.form-panel { max-width: 900px; }
.form-actions { display: flex; gap: .6rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #edf0f4; }
.table-panel { padding: 0; overflow: hidden; }
.table-panel .table-responsive { padding: 0 1.25rem; }
.table { margin-bottom: 0; }
.table thead th { background: #f8fafc; color: #64748b; font-size: .84rem; font-weight: 600; border-bottom-width: 1px; white-space: nowrap; }
.table td, .table th { padding: .85rem .65rem; vertical-align: middle; }
.status-badge { background: #eaf3f7; color: #27647d; font-weight: 500; }
.detail-list { display: grid; gap: .8rem; }
.detail-list > div { display: flex; flex-direction: column; gap: .15rem; padding-bottom: .75rem; border-bottom: 1px solid #edf0f4; }
.detail-list > div:last-child { border: 0; padding-bottom: 0; }
.detail-list span { color: #7b8794; font-size: .85rem; }
.detail-list strong { word-break: break-word; }
.truncate { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-label { font-weight: 600; color: #425466; }
.form-control:focus, .form-select:focus { border-color: #4e9ebd; box-shadow: 0 0 0 .2rem rgba(29, 117, 155, .14); }
.btn-primary { background-color: #176f91; border-color: #176f91; }
.btn-primary:hover, .btn-primary:focus { background-color: #125c78; border-color: #125c78; }
.footer { position: fixed !important; bottom: 0; left: 0; right: 0; width: 100%; z-index: 1030; background: #f5f7fb; white-space: normal !important; line-height: 1.6 !important; padding: 12px 0; text-align: center; }
.footer .footer-credit { display: inline-block; margin-inline-start: .4em; }
@media print { body { margin-bottom: 0 !important; } }
.role-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.role-guide > div { background: #fff; border: 1px solid #e7ebf1; border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.role-guide strong { color: #176f91; }
.role-guide span { color: #6b7789; font-size: .9rem; }
.auth-body { background: #123f4a url('/images/app-background.jpg') center center / cover no-repeat fixed; min-height: 100vh; margin: 0; position: relative; isolation: isolate; }
.auth-overlay { position: fixed; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(7, 31, 39, .32), rgba(7, 31, 39, .1) 48%, rgba(7, 31, 39, .24)); }
.auth-wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; padding: clamp(1.5rem, 7vw, 6rem); }
.auth-card { direction: rtl; width: min(100%, 420px); margin-right: auto; background: rgba(255, 255, 255, .94); border-radius: 16px; padding: 2rem; box-shadow: 0 14px 40px rgba(1, 25, 37, .36); backdrop-filter: blur(3px); }
.auth-brand { display: flex; flex-direction: column; gap: .2rem; color: #176f91; }
.auth-brand span { font-size: 1.05rem; line-height: 1.55; font-weight: 700; }
.auth-brand small { color: #7b8794; }
.auth-logo { width: 3.25rem; height: 3.25rem; margin-bottom: .45rem; border: 2px solid #4a94a6; border-radius: 50%; background: #d9c89e url('/images/app-background.jpg') center top / 430% auto no-repeat; box-shadow: 0 2px 7px rgba(29, 71, 82, .16); }
.report-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.report-card { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid #e5ebf1; border-radius: 14px; padding: 1.35rem; transition: transform .15s ease, box-shadow .15s ease; }
.report-card:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,45,61,.1); }
.report-card h2 { font-size: 1.1rem; margin: .9rem 0 .45rem; }
.report-card p { color: #6b7789; min-height: 2.8rem; margin-bottom: 1rem; }
.report-card > span:last-child { color: #176f91; font-size: .9rem; font-weight: 600; }
.report-icon { width: 2.55rem; height: 2.55rem; border-radius: 10px; display: grid; place-items: center; background: #e9f5f9; color: #176f91; font-weight: 700; }
.green-icon { background: #e9f7f0; color: #25815d; }
.orange-icon { background: #fff3e5; color: #ba6d15; }
.purple-icon { background: #f0edfb; color: #7253bd; }
.summary-card { height: 100%; background: #eaf4fb; border-radius: 12px; padding: 1.1rem 1.2rem; border-right: 5px solid #1d759b; display: flex; flex-direction: column; gap: .25rem; }
.summary-card.green { background: #e9f7f0; border-color: #25815d; }
.summary-card.orange { background: #fff3e5; border-color: #dd8a28; }
.summary-card.purple { background: #f0edfb; border-color: #7253bd; }
.summary-card span, .summary-card small { color: #66758a; }
.summary-card strong { font-size: 1.5rem; color: #22344d; }
.status-summary { display: flex; flex-wrap: wrap; gap: .7rem; }
.status-summary span { background: #f4f7fa; border-radius: 8px; padding: .45rem .7rem; color: #536274; }
.status-summary strong { color: #176f91; }
.report-mini-summary { height: 100%; }
.report-mini-summary h2 { padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 1px solid #edf0f4; }
.report-mini-summary > div { display: flex; justify-content: space-between; padding: .4rem 0; color: #627085; }
.report-mini-summary strong { color: #25354a; }
@media (max-width: 575.98px) { .page-heading { flex-direction: column; } .page-heading > .btn, .page-heading > div:last-child { width: 100%; } .form-actions { flex-wrap: wrap; } }
@media (max-width: 767.98px) { .role-guide { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .report-cards { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .organization-banner-content { min-height: 68px; } .organization-text strong { font-size: .88rem; } .organization-text small { font-size: .72rem; } }
@media (max-width: 575.98px) { .auth-body { background-position: center; } .auth-wrap { padding: 1rem; } .auth-card { margin: auto; padding: 1.5rem; } }
@media print { body { background: #fff; margin: 0; font-size: 11px; } .app-navbar, .footer, .no-print { display: none !important; } .container { width: 100%; max-width: none; padding: 0 !important; } .panel, .summary-card { box-shadow: none; border-color: #ced6df; } .table-panel { overflow: visible; } .table-panel .table-responsive { padding: 0; overflow: visible; } .table { font-size: 10px; } .print-heading { margin-top: 0; } }
