:root{display:flex;justify-content:center;align-items:center}button{font:16px 500 "Segoe UI",Tahoma,Geneva,sans-serif;color:#fff;background-color:#363636;border-radius:25px;outline:none;padding:10px 35px;cursor:pointer;transition:all .3s ease-in-out}.member-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.member-header-wrapper{max-width:1200px;margin:0 auto 1rem}.back-button{background:#fff;color:#036;border:2px solid #e2e8f0;padding:.75rem 1.25rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;font-family:Inter,sans-serif}.back-button:hover{background:#f8fafc;border-color:#036;transform:translate(-4px)}.member-header{max-width:1200px;margin:0 auto 2rem}.header-content{background:linear-gradient(135deg,#036,#004080);padding:clamp(2rem,3vw,2.5rem);border-radius:.75rem;box-shadow:0 4px 12px #00336626;display:flex;align-items:center;gap:1.5rem;color:#fff}.member-avatar-large{width:80px;height:80px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:3px solid rgba(255,255,255,.3)}.member-avatar-large svg{color:#fff}.member-content{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:2rem}.info-section{background:#fff;border-radius:.75rem;padding:2rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #003366;animation:fadeInUp .4s ease-out}.info-section:nth-child(1){animation-delay:.1s}.info-section:nth-child(2){animation-delay:.2s}.info-section:nth-child(3){animation-delay:.3s}.info-section.sensitive{border-left-color:#e63946;background:linear-gradient(to right,#fff5f5,#fff 3%)}.section-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0;flex-wrap:wrap}.section-icon{color:#036;flex-shrink:0}.info-section.sensitive .section-icon{color:#e63946}.section-title{font-size:clamp(1.15rem,1.3vw,1.35rem);font-weight:600;color:#1e293b;margin:0;flex:1}.sensitive-badge{background:#fee2e2;color:#991b1b;padding:.35rem .85rem;border-radius:.375rem;font-size:.8rem;font-weight:600;display:flex;align-items:center;gap:.35rem}.record-count{background:#e0f2fe;color:#036;padding:.35rem .85rem;border-radius:.375rem;font-size:.8rem;font-weight:600}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem}.info-card{background:#f8fafc;padding:1.25rem;border-radius:.5rem;border:2px solid #e2e8f0;display:flex;align-items:flex-start;gap:1rem;transition:all .2s ease}.info-card:hover{background:#f1f5f9;border-color:#cbd5e1}.info-icon-wrapper{width:40px;height:40px;background:linear-gradient(135deg,#036,#004080);border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.info-icon-wrapper svg{color:#fff}.info-icon-wrapper.sensitive-icon{background:linear-gradient(135deg,#e63946,#c71c29)}.info-content{display:flex;flex-direction:column;gap:.35rem;flex:1;min-width:0}.info-value{font-size:1rem;color:#1e293b;font-weight:500;word-break:break-word}.info-value.monospace{font-family:Courier New,monospace;letter-spacing:.05em}.empty-records{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.25rem;padding:3rem 2rem;text-align:center;background:#f8fafc;border-radius:.5rem;border:2px dashed #cbd5e1}.empty-records svg{color:#cbd5e1}.empty-text{font-size:.95rem;color:#64748b;margin:0}.add-record-btn{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:.85rem 1.75rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Inter,sans-serif}.add-record-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00336640}.records-list{display:flex;flex-direction:column;gap:1rem}.record-item{background:#f8fafc;padding:1.25rem;border-radius:.5rem;border:2px solid #e2e8f0;display:flex;align-items:flex-start;gap:1rem;transition:all .2s ease}.record-item:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translate(4px)}.record-icon-wrapper{width:40px;height:40px;background:linear-gradient(135deg,#036,#004080);border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.record-icon-wrapper svg{color:#fff}.record-content{flex:1;min-width:0}.record-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.record-meta{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#64748b;margin-bottom:.5rem}.record-meta svg{flex-shrink:0}.record-description{font-size:.9rem;color:#64748b;margin:0;line-height:1.5}.record-action{flex-shrink:0}.view-btn{background:#036;color:#fff;border:none;padding:.65rem 1.25rem;border-radius:.375rem;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Inter,sans-serif}.view-btn:hover{background:#002a52;transform:translateY(-2px);box-shadow:0 4px 8px #0363}.member-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.member-loading h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.member-loading p{font-size:.95rem;color:#64748b;margin:0}.member-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.member-error svg{color:#e63946}.member-error h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.member-error p{font-size:.95rem;color:#64748b;margin:0}.error-actions{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}.retry-btn{background:#036;color:#fff;border:none;padding:.85rem 1.75rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Inter,sans-serif}.back-btn-error{background:#f1f5f9;color:#64748b;border:2px solid #e2e8f0;padding:.85rem 1.75rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;font-family:Inter,sans-serif}.back-btn-error:hover{background:#e2e8f0;color:#334155}.back-button:focus,.retry-btn:focus,.back-btn-error:focus,.add-record-btn:focus,.view-btn:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}@media (max-width: 768px){.member-container{padding:1rem}.member-header-wrapper{margin-bottom:.75rem}.member-header{margin-bottom:1.5rem}.header-content{flex-direction:column;text-align:center;padding:1.75rem 1.5rem}.member-avatar-large{width:64px;height:64px}.member-avatar-large svg{width:36px;height:36px}.member-content{gap:1.5rem}.info-section{padding:1.5rem}.info-grid{grid-template-columns:1fr}.record-item{flex-direction:column}.record-action{align-self:flex-start}.view-btn{width:100%}.error-actions{flex-direction:column;width:100%}.retry-btn,.back-btn-error{width:100%}}@media (max-width: 480px){.member-container{padding:1rem}.back-button{padding:.65rem 1rem;font-size:.9rem}.header-content{padding:1.5rem 1.25rem}.header-title{font-size:1.5rem}.header-subtitle{font-size:.85rem}.member-avatar-large{width:56px;height:56px}.member-avatar-large svg{width:32px;height:32px}.info-section{padding:1.25rem;border-left-width:3px}.section-title{font-size:1rem}.sensitive-badge,.record-count{font-size:.75rem;padding:.3rem .75rem}.info-card,.record-item{padding:1rem}.info-icon-wrapper,.record-icon-wrapper{width:36px;height:36px}.info-icon-wrapper svg,.record-icon-wrapper svg{width:18px;height:18px}.info-label{font-size:.75rem}.info-value{font-size:.9rem}.record-title{font-size:.95rem}.record-meta{font-size:.8rem}.record-description{font-size:.85rem}.view-btn{padding:.6rem 1rem;font-size:.85rem}.member-loading,.member-error,.empty-records{padding:3rem 1.5rem}}@media print{.member-header-wrapper,.back-button,.retry-btn,.back-btn-error,.add-record-btn,.view-btn{display:none}.member-container{background:#fff;padding:0}.info-section{page-break-inside:avoid;box-shadow:none;border:1px solid #e2e8f0;margin-bottom:1rem}.sensitive-badge{background:#fee2e2;border:1px solid #fecaca}}.member-container::-webkit-scrollbar{width:8px}.member-container::-webkit-scrollbar-track{background:#f1f5f9}.member-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.member-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.enter-container{width:100%;min-height:100vh;background:linear-gradient(135deg,#f5f7fb,#e0f2fe,#f5f7fb);font-family:Inter,sans-serif;padding:clamp(2rem,5vw,4rem) clamp(1rem,3vw,2rem);box-sizing:border-box;display:flex;align-items:center;justify-content:center}.enter-card{background:#fff;border-radius:1rem;box-shadow:0 10px 30px #00336626;max-width:550px;width:100%;overflow:hidden;animation:slideUp .5s ease-out}.enter-header{background:linear-gradient(135deg,#036,#004080);padding:2.5rem 2rem;text-align:center;color:#fff;position:relative;overflow:hidden}.enter-header:before{content:"";position:absolute;top:-50%;right:-20%;width:300px;height:300px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%}.enter-title{font-size:clamp(1.75rem,3vw,2rem);font-weight:700;margin:0 0 .75rem;letter-spacing:-.5px;position:relative;z-index:1}.enter-subtitle{font-size:clamp(.95rem,1.1vw,1rem);opacity:.95;margin:0;font-weight:400;position:relative;z-index:1}.form-switcher{display:flex;gap:0;padding:1.5rem 2rem;background:#f8fafc;border-bottom:2px solid #e2e8f0}.switcher-btn{flex:1;padding:.85rem 1.5rem;background:transparent;color:#64748b;border:none;border-bottom:3px solid transparent;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;font-family:Inter,sans-serif}.switcher-btn:hover{color:#036;background:#0033660d}.switcher-btn.active{color:#036;border-bottom-color:#036;font-weight:600}.switcher-btn svg{flex-shrink:0}.error-banner{background:#fee2e2;color:#991b1b;padding:1rem 1.5rem;margin:1.5rem 2rem 0;border-radius:.5rem;border-left:4px solid #ef4444;display:flex;align-items:center;gap:.75rem;font-size:.9rem;animation:slideDown .3s ease-out}.error-banner svg{flex-shrink:0}.forms-container{padding:2rem}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-input{width:100%;padding:.85rem 1rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:.95rem;font-family:inherit;transition:all .2s ease;box-sizing:border-box;background:#fff;color:#1e293b}.form-input:hover:not(:focus){border-color:#cbd5e1}.input-error{border-color:#ef4444}.input-error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.error-text{font-size:.8rem;color:#ef4444;display:flex;align-items:center;gap:.35rem;margin-top:.25rem}.error-text svg{flex-shrink:0}.form-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.file-upload-wrapper{display:flex;flex-direction:column;gap:.75rem}.file-upload-label{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1.25rem;border:2px dashed #cbd5e1;border-radius:.5rem;background:#f8fafc;cursor:pointer;transition:all .2s ease;color:#64748b;font-size:.95rem;font-weight:500}.file-upload-label:hover{border-color:#036;background:#f1f5f9;color:#036}.file-upload-label svg{flex-shrink:0}.file-text{flex:1;text-align:center}.file-selected{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#d1fae5;border-radius:.5rem;color:#065f46;font-size:.9rem;animation:slideDown .3s ease-out}.file-selected svg{flex-shrink:0}.file-hint{font-size:.8rem;color:#64748b;margin:0;text-align:center}.submit-btn{width:100%;padding:1rem 1.5rem;background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;border-radius:.5rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.5rem;box-shadow:0 4px 12px #0363;font-family:Inter,sans-serif}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #0033664d}.submit-btn:active:not(:disabled){transform:translateY(0)}.submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.submit-btn svg{flex-shrink:0}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.switcher-btn:focus,.submit-btn:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}.form-input:focus{outline:none;border-color:#036;box-shadow:0 0 0 3px #0033661a}.file-upload-label:focus-within{border-color:#036;box-shadow:0 0 0 3px #0033661a}@media (max-width: 768px){.enter-container{padding:1.5rem 1rem}.enter-card{max-width:100%}.enter-header{padding:2rem 1.5rem}.form-switcher{padding:1.25rem 1.5rem}.forms-container{padding:1.5rem}.error-banner{margin:1.25rem 1.5rem 0}.form-grid-2{grid-template-columns:1fr}}@media (max-width: 480px){.enter-container{padding:1rem .5rem}.enter-card{border-radius:.75rem}.enter-header{padding:1.75rem 1.25rem}.enter-title{font-size:1.5rem}.enter-subtitle{font-size:.85rem}.form-switcher{padding:1rem 1.25rem;flex-direction:row}.switcher-btn{padding:.75rem 1rem;font-size:.9rem}.forms-container{padding:1.25rem}.error-banner{margin:1rem 1.25rem 0;padding:.85rem 1.25rem;font-size:.85rem}.form-label{font-size:.85rem}.form-input{padding:.75rem .85rem;font-size:.9rem}.file-upload-label{padding:1rem;font-size:.9rem}.file-hint{font-size:.75rem}.submit-btn{padding:.9rem 1.25rem;font-size:.95rem}}@media print{.enter-container{background:#fff;padding:0}.enter-card{box-shadow:none;border:1px solid #e2e8f0}.form-switcher,.submit-btn{display:none}}.enter-card::-webkit-scrollbar{width:6px}.enter-card::-webkit-scrollbar-track{background:#f1f5f9}.enter-card::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.enter-card::-webkit-scrollbar-thumb:hover{background:#94a3b8}.password-strength{height:4px;border-radius:2px;margin-top:.5rem;transition:all .3s ease}.password-strength.weak{width:33%;background:#ef4444}.password-strength.medium{width:66%;background:#f59e0b}.password-strength.strong{width:100%;background:#22c55e}.success-banner{background:#d1fae5;color:#065f46;padding:1rem 1.5rem;margin:1.5rem 2rem 0;border-radius:.5rem;border-left:4px solid #10b981;display:flex;align-items:center;gap:.75rem;font-size:.9rem;animation:slideDown .3s ease-out}.success-banner svg{flex-shrink:0}.home-container{display:flex;flex-direction:column;min-height:100vh;width:90vw;background:#f5f7fb;font-family:Inter,sans-serif}.home-header{background:#036;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:clamp(.8rem,1.5vw,1.2rem) clamp(1rem,4vw,2rem);box-shadow:0 2px 8px #00000026}.app-title{font-size:clamp(1.2rem,2vw,1.6rem);font-weight:600;letter-spacing:.5px}.logout-btn{background:#e63946;color:#fff;border:none;border-radius:.5rem;padding:clamp(.4rem,1vw,.6rem) clamp(.8rem,2vw,1.2rem);cursor:pointer;transition:all .2s ease;font-size:clamp(.9rem,1vw,1rem)}.logout-btn:hover{background:#c71c29;transform:translateY(-1px)}.nav-bar{display:flex;justify-content:center;flex-wrap:wrap;background:#fff;box-shadow:0 .25rem .75rem #0000000d;padding:.75rem clamp(1rem,2vw,2rem);gap:1rem;position:relative;z-index:10}.nav-item{padding:.6rem 1.2rem;border-radius:.6rem;font-weight:500;color:#036;cursor:pointer;transition:all .25s ease;font-size:clamp(.9rem,1vw,1rem);white-space:nowrap}.nav-item.active{background:#036;color:#fff}.nav-item:hover{background:#e6eef7;color:#00264d}.dropdown-menu{position:absolute;top:calc(100% + .5rem);left:0;background:#fff;border-radius:.6rem;box-shadow:0 .5rem 1rem #0000001a;z-index:100;min-width:10rem}.dropdown-item{padding:.6rem 1rem;cursor:pointer;transition:background .2s ease}.dropdown-item:hover{background:#f0f4fa}.content-area{flex:1;width:100%;max-width:1400px;margin:0 auto;padding:clamp(1.5rem,4vw,3rem);display:flex;justify-content:center;align-items:flex-start;box-sizing:border-box}body{background:linear-gradient(to bottom right,#f4f7fb,#eef2f8)}@media (max-width: 1024px){.content-area{padding:1.5rem 2rem}}@media (max-width: 768px){.home-header{flex-direction:column;gap:.6rem;text-align:center}.nav-bar{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin}.nav-item{flex-shrink:0}}.profile-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.profile-loader{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;background:#f5f7fb;gap:1.5rem}.profile-header{max-width:1200px;margin:0 auto 2rem}.header-content{background:#fff;padding:clamp(1.5rem,3vw,2.5rem);border-radius:.75rem;box-shadow:0 2px 8px #00000014}.profile-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;color:#fff;margin:0 0 .5rem;letter-spacing:-.5px}.profile-subtitle{font-size:clamp(.95rem,1.1vw,1.05rem);color:#64748b;margin:0;font-weight:400}.profile-content{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:2rem}.info-card{background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;overflow:hidden;transition:all .3s ease}.info-card:hover{box-shadow:0 4px 12px #0000001f;transform:translateY(-2px)}.card-header{display:flex;align-items:center;gap:.75rem;padding:clamp(1.25rem,2.5vw,1.75rem);background:linear-gradient(135deg,#036,#004080);color:#fff;border-bottom:3px solid #002a52}.sensitive-card .card-header{background:linear-gradient(135deg,#e63946,#d62839);border-bottom:3px solid #c71c29}.card-icon{flex-shrink:0}.card-title{font-size:clamp(1.2rem,1.5vw,1.4rem);font-weight:600;margin:0;letter-spacing:.3px}.card-body{padding:clamp(1.5rem,3vw,2rem)}.info-grid{display:flex;flex-direction:column;gap:1rem}.info-row{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:.5rem;border:1px solid #e2e8f0;transition:all .2s ease;gap:1rem}.info-row:hover{background:#f1f5f9;border-color:#cbd5e1}.sensitive-row{background:#fef2f2;border-color:#fee2e2}.sensitive-row:hover{background:#fecaca;border-color:#fca5a5}.info-label{display:flex;align-items:center;gap:.6rem;font-weight:500;color:#036;text-transform:capitalize;min-width:150px;font-size:clamp(.9rem,1vw,1rem)}.label-icon{color:#036;display:flex;align-items:center;flex-shrink:0}.sensitive-row .label-icon{color:#e63946}.label-text{font-weight:500}.info-data{flex:1;text-align:right;color:#334155;font-size:clamp(.9rem,1vw,1rem);word-break:break-word}.info-data-sensitive{display:flex;align-items:center;gap:.75rem;justify-content:flex-end;flex:1}.sensitive-value{color:#334155;font-size:clamp(.9rem,1vw,1rem);font-family:Courier New,monospace;letter-spacing:.5px;min-width:120px;text-align:right}.visibility-toggle{background:transparent;border:2px solid #e63946;color:#e63946;border-radius:.4rem;padding:.4rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0}.visibility-toggle:hover{background:#e63946;color:#fff;transform:scale(1.05)}.visibility-toggle:active{transform:scale(.95)}@media (max-width: 768px){.profile-container{padding:1rem}.profile-content{gap:1.5rem}.info-row{flex-direction:column;align-items:flex-start;gap:.75rem}.info-label{min-width:unset;width:100%}.info-data,.info-data-sensitive{width:100%;text-align:left;justify-content:flex-start}.sensitive-value{text-align:left;min-width:unset}.card-header,.card-body{padding:1rem}}@media (max-width: 480px){.profile-title{font-size:1.5rem}.profile-subtitle{font-size:.9rem}.card-title{font-size:1.1rem}.info-label,.info-data,.sensitive-value{font-size:.85rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.info-card{animation:fadeIn .4s ease-out}.basic-card{animation-delay:.1s}.sensitive-card{animation-delay:.2s}.family-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.family-header{max-width:1200px;margin:0 auto 2rem}.family-search{max-width:1200px;margin:0 auto 1.5rem}.results-count{max-width:1200px;margin:0 auto 1rem;font-size:.9rem;color:#64748b;font-weight:500}.family-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-bottom:2rem}.family-card{background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #003366;padding:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;transition:all .3s ease;animation:fadeInUp .4s ease-out}.family-card:hover{box-shadow:0 4px 16px #00336626;transform:translateY(-4px);border-left-width:6px}.card-content{display:flex;align-items:center;gap:1.25rem;flex:1}.member-avatar{width:56px;height:56px;background:linear-gradient(135deg,#036,#004080);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 8px #0363}.relation-icon{color:#fff}.member-info{display:flex;flex-direction:column;gap:.35rem;flex:1;min-width:0}.member-name{font-size:1.15rem;font-weight:600;color:#1e293b;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-relation{font-size:.9rem;color:#64748b;margin:0}.card-action{flex-shrink:0}.action-icon{color:#cbd5e1;transition:all .2s ease}.family-card:hover .action-icon{color:#036;transform:translate(4px)}.family-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.family-loading h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.family-loading p{font-size:.95rem;color:#64748b;margin:0}.family-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.family-error svg{color:#e63946}.family-error h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.family-error p{font-size:.95rem;color:#64748b;margin:0}.retry-btn{background:#036;color:#fff;border:none;padding:.85rem 2rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Inter,sans-serif}.family-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.family-empty svg{color:#cbd5e1}.family-empty h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.family-empty p{font-size:.95rem;color:#64748b;margin:0}.add-family-btn{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:1rem 2rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;font-family:Inter,sans-serif;box-shadow:0 4px 12px #0363}.add-family-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0033664d}.family-actions{max-width:1200px;margin:0 auto;display:flex;justify-content:center;padding-top:1rem}.add-member-btn{background:#f1f5f9;color:#036;border:2px dashed #cbd5e1;padding:.85rem 1.75rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;font-family:Inter,sans-serif}.add-member-btn:hover{background:#e2e8f0;border-color:#036;border-style:solid;transform:translateY(-2px)}.retry-btn:focus,.add-family-btn:focus,.add-member-btn:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}.family-card:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}@media (max-width: 768px){.family-container{padding:1rem}.family-header{margin-bottom:1.5rem}.header-content{flex-direction:column;text-align:center;padding:1.5rem}.family-grid{grid-template-columns:1fr;gap:1.25rem}.family-card{padding:1.25rem}.member-avatar{width:48px;height:48px}.member-name{font-size:1.05rem}.member-relation{font-size:.85rem}}@media (max-width: 480px){.family-container{padding:1rem}.header-title{font-size:1.5rem}.header-subtitle{font-size:.85rem}.search-input{font-size:.9rem;padding:.75rem .85rem}.family-card{border-left-width:3px;padding:1rem}.family-card:hover{border-left-width:4px}.card-content{gap:1rem}.member-avatar{width:44px;height:44px}.relation-icon{width:18px;height:18px}.member-name{font-size:1rem}.member-relation{font-size:.8rem}.action-icon{width:18px;height:18px}.family-loading,.family-error,.family-empty,.no-results{padding:3rem 1.5rem}.add-family-btn,.add-member-btn{width:100%;justify-content:center}.family-actions{padding-top:.5rem}}@media print{.family-header,.family-search,.family-actions,.retry-btn,.add-family-btn,.add-member-btn{display:none}.family-container{background:#fff;padding:0}.family-card{page-break-inside:avoid;box-shadow:none;border:1px solid #e2e8f0;margin-bottom:1rem}.card-action{display:none}}.family-container::-webkit-scrollbar{width:8px}.family-container::-webkit-scrollbar-track{background:#f1f5f9}.family-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.family-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.family-card:nth-child(1){animation-delay:.05s}.family-card:nth-child(2){animation-delay:.1s}.family-card:nth-child(3){animation-delay:.15s}.family-card:nth-child(4){animation-delay:.2s}.family-card:nth-child(5){animation-delay:.25s}.family-card:nth-child(6){animation-delay:.3s}.family-card:nth-child(7){animation-delay:.35s}.family-card:nth-child(8){animation-delay:.4s}.family-card:nth-child(9){animation-delay:.45s}.record-content{max-width:1200px;margin:0 auto}.record-card{background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:all .25s ease;overflow:hidden;border:2px solid transparent}.record-icon{flex-shrink:0}.record-info{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.info-label{font-size:.85rem;color:#64748b;font-weight:500;min-width:80px}.info-value{font-size:.95rem;color:#1e293b;font-weight:500;word-break:break-all}.record-card-footer{padding:1rem 1.5rem;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end}.view-details{font-size:.9rem;color:#036;font-weight:600;transition:all .2s ease}.record-card:hover .view-details{transform:translate(4px)}.summary-modal{max-width:800px}.detail-section{background:#f8fafc;border-radius:.6rem;padding:1.5rem;border:1px solid #e2e8f0}.health-entry{background:#fff;border-radius:.6rem;padding:1.25rem;border:1px solid #e2e8f0;margin-bottom:1rem;display:flex;flex-direction:column;gap:1rem}.health-entry:last-child{margin-bottom:0}.health-info{display:flex;flex-direction:column;gap:.75rem}.health-row{display:flex;align-items:center;gap:.6rem;color:#334155;font-size:.95rem}.health-row svg{color:#036;flex-shrink:0}.action-btn{background:#036;color:#fff;border:none;border-radius:.5rem;padding:.75rem 1.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;justify-content:center}.action-btn:hover:not(:disabled){background:#002a52;transform:translateY(-2px);box-shadow:0 4px 12px #00336640}.action-btn:disabled{opacity:.6;cursor:not-allowed}.download-btn{align-self:flex-start}.summary-btn{background:#e63946;padding:1rem 2rem;font-size:1rem}.summary-btn:hover:not(:disabled){background:#c71c29}.center-section{display:flex;justify-content:center;align-items:center}.diagnosis-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.diagnosis-item{background:#fff;padding:1rem;border-radius:.5rem;border-left:4px solid #003366;color:#1e293b;font-size:.95rem}.schemes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.scheme-card{background:#fff;border-radius:.6rem;padding:1.25rem;border:1px solid #e2e8f0;transition:all .2s ease}.scheme-card:hover{border-color:#036;box-shadow:0 4px 12px #0033661a}.scheme-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.scheme-name{font-weight:600;color:#1e293b;font-size:.95rem;flex:1}.scheme-status{padding:.35rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.scheme-status.claimed{background:#d1fae5;color:#065f46}.scheme-status.pending{background:#fee2e2;color:#991b1b}.scheme-details{display:flex;flex-direction:column;gap:.5rem}.scheme-amount{font-size:1.1rem;font-weight:600;color:#036;margin:0}.scheme-link{color:#036;text-decoration:none;font-size:.9rem;font-weight:500;transition:all .2s ease}.scheme-link:hover{color:#002a52;text-decoration:underline}.summary-section{background:#f8fafc;border-radius:.6rem;padding:1.5rem;border-left:4px solid #003366}.alert-section{background:#fef2f2;border-left-color:#e63946}.summary-title{font-size:clamp(1rem,1.2vw,1.15rem);font-weight:600;color:#036;margin:0 0 1rem;display:flex;align-items:center;gap:.6rem}.alert-section .summary-title{color:#e63946}.summary-text{font-size:.95rem;line-height:1.7;color:#334155;margin:0;white-space:pre-wrap;word-wrap:break-word}@media (max-width: 768px){.record-container{padding:1rem}.header-content{flex-direction:column;text-align:center}.record-grid{grid-template-columns:1fr}.modal-container{max-height:95vh;margin:0;border-radius:.5rem}.modal-body{padding:1.5rem;gap:1.5rem}.detail-grid,.schemes-grid{grid-template-columns:1fr}.health-entry{padding:1rem}.action-btn{width:100%}}@media (max-width: 480px){.record-title{font-size:1.5rem}.record-subtitle{font-size:.85rem}.modal-header{padding:1rem 1.5rem}.modal-title{font-size:1.2rem}.section-title{font-size:1rem}.info-label,.detail-label{font-size:.8rem}.info-value,.detail-value,.health-row,.summary-text{font-size:.85rem}.scheme-header{flex-direction:column;align-items:flex-start}}.record-card{animation:fadeInUp .4s ease-out;animation-fill-mode:both}.record-card:nth-child(1){animation-delay:.1s}.record-card:nth-child(2){animation-delay:.2s}.record-card:nth-child(3){animation-delay:.3s}.record-card:nth-child(4){animation-delay:.4s}.action-btn:focus,.modal-close:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}.record-card:focus{outline:3px solid #003366;outline-offset:2px}@media print{.modal-overlay{position:static;background:none}.modal-container{box-shadow:none;max-height:none}.modal-close,.action-btn{display:none}}.schemes-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif}.schemes-loader{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;background:#f5f7fb;gap:1.5rem}.spinner-large{color:#036;animation:spin 1s linear infinite}.schemes-header{background:linear-gradient(135deg,#036,#004080);padding:clamp(1.5rem,3vw,2.5rem);box-shadow:0 4px 12px #00336626}.header-content{max-width:1400px;margin:0 auto;display:flex;align-items:center;gap:1.5rem;color:#fff}.schemes-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;margin:0 0 .5rem;letter-spacing:-.5px}.schemes-subtitle{font-size:clamp(.95rem,1.1vw,1.05rem);opacity:.9;margin:0;font-weight:400}.schemes-layout{display:flex;max-width:1400px;margin:0 auto;min-height:calc(100vh - 140px)}.filter-sidebar{width:320px;background:#fff;border-right:1px solid #e2e8f0;overflow-y:auto;position:sticky;top:0;height:calc(100vh - 140px);transition:transform .3s ease}.sidebar-header{background:#f8fafc;padding:1.5rem;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:10}.sidebar-title{display:flex;align-items:center;gap:.75rem}.sidebar-title h2{font-size:1.15rem;font-weight:600;color:#1e293b;margin:0}.sidebar-title svg{color:#036}.close-sidebar-btn{background:transparent;border:none;color:#64748b;padding:.5rem;border-radius:.4rem;cursor:pointer;transition:all .2s ease;display:none}.close-sidebar-btn:hover{background:#f1f5f9;color:#036}.filter-form{padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.filter-section{display:flex;flex-direction:column;gap:1rem}.filter-heading{font-size:.95rem;font-weight:600;color:#036;margin:0;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0;text-transform:uppercase;letter-spacing:.5px}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.filter-label{font-size:.85rem;font-weight:500;color:#334155}.filter-input,.filter-select{width:100%;padding:.7rem .85rem;border:2px solid #e2e8f0;border-radius:.4rem;font-size:.9rem;font-family:inherit;transition:all .2s ease;box-sizing:border-box}.filter-input::placeholder{color:#94a3b8;font-size:.85rem}.filter-actions{display:flex;flex-direction:column;gap:.75rem;padding-top:1rem;border-top:2px solid #e2e8f0}.search-btn-filter,.clear-btn{padding:.85rem 1.25rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;justify-content:center;border:none}.search-btn-filter{background:#036;color:#fff}.search-btn-filter:hover:not(:disabled){background:#002a52;transform:translateY(-2px);box-shadow:0 4px 12px #00336640}.search-btn-filter:disabled{opacity:.6;cursor:not-allowed}.clear-btn{background:#f1f5f9;color:#64748b;border:2px solid #e2e8f0}.clear-btn:hover{background:#e2e8f0;color:#334155}.schemes-main{flex:1;display:flex;flex-direction:column;background:#f5f7fb}.toggle-filter-btn{display:none;margin:1.5rem;padding:.85rem 1.5rem;background:#036;color:#fff;border:none;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;align-items:center;gap:.5rem;align-self:flex-start}.toggle-filter-btn:hover{background:#002a52}.schemes-tabs{display:flex;gap:.5rem;padding:1.5rem 1.5rem 0;background:#f5f7fb}.tab-btn{background:#fff;border:2px solid #e2e8f0;color:#64748b;padding:.85rem 1.5rem;border-radius:.5rem .5rem 0 0;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;position:relative}.tab-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155}.tab-btn.active{background:#036;border-color:#036;color:#fff;border-bottom-color:#036}.tab-count{background:#fff3;padding:.2rem .6rem;border-radius:1rem;font-size:.8rem;font-weight:600}.tab-btn.active .tab-count{background:#ffffff40}.schemes-content{flex:1;padding:1.5rem;background:#fff;border-radius:0 .75rem .75rem;margin:0 1.5rem 1.5rem;box-shadow:0 2px 8px #00000014}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;min-height:400px}.empty-state h3{font-size:clamp(1.3rem,2vw,1.6rem);color:#036;margin:0 0 .75rem;font-weight:600}.empty-state p{font-size:clamp(.95rem,1.1vw,1.05rem);color:#64748b;margin:0;max-width:500px;line-height:1.6}.schemes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.scheme-card{background:#fff;border:2px solid #e2e8f0;border-radius:.75rem;overflow:hidden;transition:all .3s ease;display:flex;flex-direction:column}.scheme-card:hover{border-color:#036;box-shadow:0 8px 20px #0033661f;transform:translateY(-4px)}.scheme-card-header{background:linear-gradient(135deg,#f8fafc,#f1f5f9);padding:1.25rem;display:flex;gap:1rem;border-bottom:2px solid #e2e8f0}.scheme-icon-wrapper{width:48px;height:48px;background:linear-gradient(135deg,#036,#004080);border-radius:.6rem;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.scheme-header-content{flex:1;display:flex;flex-direction:column;gap:.5rem}.scheme-name{font-size:1.05rem;font-weight:600;color:#1e293b;margin:0;line-height:1.4}.scheme-badge{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#78350f;padding:.3rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:600;display:inline-flex;align-items:center;gap:.35rem;align-self:flex-start;text-transform:uppercase;letter-spacing:.5px}.scheme-card-body{padding:1.25rem;display:flex;flex-direction:column;gap:.85rem;flex:1}.scheme-info-row{display:flex;align-items:center;gap:.6rem;font-size:.9rem}.info-icon{color:#036;flex-shrink:0}.info-label{color:#64748b;font-weight:500;min-width:90px}.info-value{color:#1e293b;font-weight:500;flex:1}.scheme-card-footer{padding:1rem 1.25rem;background:#f8fafc;border-top:1px solid #e2e8f0}.view-details-btn{width:100%;background:transparent;color:#036;border:2px solid #003366;padding:.75rem 1.25rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.view-details-btn:hover{background:#036;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #0363}.filter-sidebar::-webkit-scrollbar{width:6px}.filter-sidebar::-webkit-scrollbar-track{background:#f1f5f9}.filter-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.filter-sidebar::-webkit-scrollbar-thumb:hover{background:#94a3b8}.scheme-card{animation:fadeInUp .4s ease-out;animation-fill-mode:both}.scheme-card:nth-child(1){animation-delay:.05s}.scheme-card:nth-child(2){animation-delay:.1s}.scheme-card:nth-child(3){animation-delay:.15s}.scheme-card:nth-child(4){animation-delay:.2s}.scheme-card:nth-child(5){animation-delay:.25s}.scheme-card:nth-child(6){animation-delay:.3s}@media (max-width: 1024px){.filter-sidebar{width:280px}.schemes-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width: 768px){.schemes-header{padding:1.5rem 1rem}.header-content{flex-direction:column;text-align:center}.schemes-layout{flex-direction:column}.filter-sidebar{position:fixed;top:0;left:0;width:85%;max-width:320px;height:100vh;z-index:1000;transform:translate(-100%);box-shadow:4px 0 12px #0000001a}.filter-sidebar.open{transform:translate(0)}.close-sidebar-btn,.toggle-filter-btn{display:flex}.schemes-main{width:100%}.schemes-tabs{padding:1rem 1rem 0;overflow-x:auto;scrollbar-width:thin}.tab-btn{white-space:nowrap;flex-shrink:0;padding:.75rem 1.25rem;font-size:.9rem}.schemes-content{margin:0 1rem 1rem;padding:1rem}.schemes-grid{grid-template-columns:1fr;gap:1rem}.empty-state{padding:3rem 1.5rem;min-height:300px}.filter-sidebar.open:before{content:"";position:fixed;inset:0;background:#00000080;z-index:-1}}@media (max-width: 480px){.schemes-title{font-size:1.5rem}.schemes-subtitle{font-size:.85rem}.filter-sidebar{width:90%}.sidebar-header,.filter-form,.scheme-card-header{padding:1rem}.scheme-name{font-size:.95rem}.scheme-card-body{padding:1rem;gap:.75rem}.scheme-info-row{font-size:.85rem}.info-label{min-width:80px}.toggle-filter-btn{margin:1rem}.tab-btn{padding:.65rem 1rem;font-size:.85rem}}.filter-input:focus,.filter-select:focus{outline:none;border-color:#036;box-shadow:0 0 0 3px #0033661a}.search-btn-filter:focus,.clear-btn:focus,.view-details-btn:focus,.tab-btn:focus,.toggle-filter-btn:focus,.close-sidebar-btn:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}@media print{.schemes-header,.filter-sidebar,.schemes-tabs,.toggle-filter-btn{display:none}.schemes-content{margin:0;box-shadow:none}.schemes-grid{grid-template-columns:repeat(2,1fr)}.scheme-card{page-break-inside:avoid;box-shadow:none;border:1px solid #e2e8f0}.view-details-btn{display:none}}.search-btn-filter:disabled .spinner{display:inline-block}@media (min-width: 769px){.sidebar-header{position:sticky;top:0;background:#f8fafc;z-index:10}}.filter-sidebar,.schemes-content{scroll-behavior:smooth}.scheme-badge.new{background:linear-gradient(135deg,#10b981,#059669);color:#064e3b}.scheme-badge.popular{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#1e3a8a}.scheme-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#036,#004080);transform:scaleX(0);transition:transform .3s ease}.scheme-card:hover:before{transform:scaleX(1)}.scheme-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.empty-icon{opacity:.5}@media (min-width: 1200px){.schemes-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}}@media (min-width: 1440px){.schemes-grid{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}}.filter-section:not(:last-child){padding-bottom:1.5rem;border-bottom:1px solid #f1f5f9}.filter-input:not(:placeholder-shown),.filter-select:not([value=""]){border-color:#036;background:#f8fafc}.schemes-content{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.scheme-card-body{min-height:160px}.view-details-btn svg{transition:transform .2s ease}.view-details-btn:hover svg{transform:translate(4px)}.scheme-name[title]{cursor:help}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}.skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:1000px 100%;animation:shimmer 2s infinite;border-radius:.4rem}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.hospital-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.hospital-header{max-width:1400px;margin:0 auto 2rem}.hospital-controls{max-width:1400px;margin:0 auto 1.5rem;display:flex;gap:1rem;flex-wrap:wrap;align-items:center}.search-wrapper{flex:1;min-width:280px}.search-input{width:100%;padding:.85rem 1rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:.95rem;font-family:inherit;transition:all .2s ease;background:#fff}.search-input:focus{outline:none;border-color:#036;box-shadow:0 0 0 3px #0033661a}.search-input::placeholder{color:#94a3b8}.filter-wrapper{display:flex;align-items:center;gap:.75rem}.filter-label{font-size:.9rem;font-weight:500;color:#334155;white-space:nowrap}.filter-select{padding:.85rem 1rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:.95rem;font-family:inherit;transition:all .2s ease;background:#fff;cursor:pointer;min-width:180px}.filter-select:focus{outline:none;border-color:#036;box-shadow:0 0 0 3px #0033661a}.results-count{max-width:1400px;margin:0 auto 1rem;font-size:.9rem;color:#64748b;font-weight:500}.hospital-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:1.5rem}.hospital-card{background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #003366;overflow:hidden;transition:all .3s ease;animation:fadeInUp .4s ease-out;display:flex;flex-direction:column}.hospital-card:hover{box-shadow:0 4px 16px #00336626;transform:translateY(-4px)}.card-header-section{padding:1.5rem;border-bottom:2px solid #f1f5f9;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.hospital-name{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0;flex:1;line-height:1.4}.hospital-badge{background:linear-gradient(135deg,#036,#004080);color:#fff;padding:.4rem .85rem;border-radius:.375rem;font-size:.8rem;font-weight:600;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em}.card-body-section{padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem;flex:1}.info-row{display:flex;gap:1rem;align-items:flex-start}.info-icon{color:#036;flex-shrink:0;margin-top:.15rem}.info-content{display:flex;flex-direction:column;gap:.35rem;flex:1}.info-label{font-size:.8rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.info-value{font-size:.95rem;color:#334155;line-height:1.5}.info-value.secondary{font-size:.85rem;color:#64748b}.info-value.emergency{color:#e63946;font-weight:600;display:flex;align-items:center;gap:.35rem}.info-value.emergency:before{content:"🚨";font-size:.9rem}.card-footer-section{padding:1rem 1.5rem;background:#f8fafc;border-top:1px solid #e2e8f0}.website-link{display:inline-flex;align-items:center;gap:.5rem;color:#036;text-decoration:none;font-size:.95rem;font-weight:500;transition:all .2s ease}.website-link:hover{color:#004080;gap:.75rem}.website-link svg{flex-shrink:0}.hospital-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.loading-spinner{color:#036;animation:spin 1s linear infinite}.hospital-loading h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.hospital-loading p{font-size:.95rem;color:#64748b;margin:0}.hospital-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.hospital-error svg{color:#e63946}.hospital-error h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.hospital-error p{font-size:.95rem;color:#64748b;margin:0}.retry-btn{background:#036;color:#fff;border:none;padding:.85rem 2rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease}.retry-btn:hover{background:#002a52;transform:translateY(-2px);box-shadow:0 4px 12px #00336640}.no-results{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014}.no-results svg{color:#cbd5e1}.no-results h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.no-results p{font-size:.95rem;color:#64748b;margin:0}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:5rem 2rem;text-align:center;background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;max-width:500px;margin:0 auto}.empty-state svg{color:#cbd5e1}.empty-state h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0}.empty-state p{font-size:.95rem;color:#64748b;margin:0}.search-input:focus,.filter-select:focus{outline:none;border-color:#036;box-shadow:0 0 0 3px #0033661a}.retry-btn:focus,.website-link:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}@media (max-width: 1024px){.hospital-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}}@media (max-width: 768px){.hospital-container{padding:1rem}.hospital-header{margin-bottom:1.5rem}.header-content{flex-direction:column;text-align:center;padding:1.5rem}.hospital-controls{flex-direction:column;align-items:stretch}.search-wrapper{width:100%}.filter-wrapper{width:100%;justify-content:space-between}.filter-select{flex:1}.hospital-grid{grid-template-columns:1fr;gap:1.25rem}.card-header-section{flex-direction:column;align-items:flex-start}.hospital-badge{align-self:flex-start}}@media (max-width: 480px){.hospital-container{padding:1rem}.header-title{font-size:1.5rem}.header-subtitle{font-size:.85rem}.search-input,.filter-select{font-size:.9rem;padding:.75rem .85rem}.hospital-card{border-left-width:3px}.card-header-section,.card-body-section{padding:1.25rem}.hospital-name{font-size:1.1rem}.hospital-badge{font-size:.75rem;padding:.35rem .75rem}.info-row{gap:.85rem}.info-icon{width:16px;height:16px}.info-label{font-size:.75rem}.info-value{font-size:.9rem}.card-footer-section{padding:.85rem 1.25rem}.website-link{font-size:.9rem}.hospital-loading,.hospital-error,.no-results,.empty-state{padding:3rem 1.5rem}}@media print{.hospital-header,.hospital-controls,.retry-btn{display:none}.hospital-container{background:#fff;padding:0}.hospital-card{page-break-inside:avoid;box-shadow:none;border:1px solid #e2e8f0;margin-bottom:1rem}.website-link{color:#036;text-decoration:underline}}.hospital-container::-webkit-scrollbar{width:8px}.hospital-container::-webkit-scrollbar-track{background:#f1f5f9}.hospital-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.hospital-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.addrecord-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.addrecord-header{max-width:1000px;margin:0 auto 2rem}.addrecord-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;margin:0 0 .5rem;letter-spacing:-.5px}.addrecord-subtitle{font-size:clamp(.95rem,1.1vw,1.05rem);opacity:.9;margin:0;font-weight:400}.addrecord-content{max-width:1000px;margin:0 auto;display:flex;flex-direction:column;gap:2rem}.patient-card{background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;overflow:hidden}.card-header{background:linear-gradient(135deg,#036,#004080);padding:1.25rem 1.5rem;display:flex;align-items:center;gap:.75rem;color:#fff}.card-header h3{font-size:clamp(1.1rem,1.3vw,1.25rem);font-weight:600;margin:0}.card-body{padding:2rem}.selected-patient{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}.patient-info{display:flex;align-items:center;gap:1.25rem;padding:1.25rem;background:#f8fafc;border-radius:.6rem;border:2px solid #e2e8f0;flex:1;min-width:280px}.patient-avatar{width:48px;height:48px;padding:.5rem;background:linear-gradient(135deg,#036,#004080);color:#fff;border-radius:50%;flex-shrink:0}.patient-details{display:flex;flex-direction:column;gap:.35rem;flex:1}.patient-name{font-size:1.15rem;font-weight:600;color:#1e293b}.patient-id{font-size:.85rem;color:#64748b;font-family:Courier New,monospace}.patient-email{font-size:.85rem;color:#64748b}.change-patient-btn{background:#fff;color:#036;border:2px solid #003366;padding:.85rem 1.5rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem}.change-patient-btn:hover{background:#036;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #0363}.no-patient{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:3rem 2rem;text-align:center}.no-patient-icon{color:#cbd5e1}.no-patient-text{font-size:1.1rem;color:#64748b;margin:0}.select-patient-btn{background:#036;color:#fff;border:none;padding:1rem 2rem;border-radius:.5rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem}.select-patient-btn:hover{background:#002a52;transform:translateY(-2px);box-shadow:0 4px 12px #00336640}.record-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:#fff;border-radius:.75rem;padding:1.75rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #003366}.section-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0}.section-header h3{font-size:clamp(1.1rem,1.3vw,1.25rem);font-weight:600;color:#1e293b;margin:0}.section-header svg{color:#036;flex-shrink:0}.file-upload-wrapper{width:100%}.file-upload-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:3rem 2rem;border:2px dashed #cbd5e1;border-radius:.6rem;background:#f8fafc;cursor:pointer;transition:all .3s ease;text-align:center}.file-upload-label:hover{border-color:#036;background:#f1f5f9}.file-input-hidden{display:none}.file-icon{color:#64748b}.file-icon.success{color:#16a34a}.file-prompt{font-size:1rem;font-weight:500;color:#1e293b}.file-name{font-size:.95rem;font-weight:600;color:#036}.file-size{font-size:.85rem;color:#64748b}.file-hint{font-size:.85rem;color:#94a3b8}.form-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}.dynamic-list{display:flex;flex-direction:column;gap:1rem}.dynamic-item{display:flex;gap:.75rem;align-items:center}.dynamic-item .form-input{flex:1}.remove-btn{background:#fee2e2;color:#991b1b;border:none;padding:.85rem;border-radius:.5rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0}.remove-btn:hover{background:#fecaca;transform:scale(1.05)}.add-item-btn{background:#f1f5f9;color:#036;border:2px dashed #cbd5e1;padding:.85rem 1.5rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;justify-content:center;align-self:flex-start}.add-item-btn:hover{background:#e2e8f0;border-color:#036;border-style:solid}.schemes-list{display:flex;flex-direction:column;gap:1.5rem}.scheme-item{background:#f8fafc;border:2px solid #e2e8f0;border-radius:.6rem;padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.scheme-header-row{display:flex;justify-content:space-between;align-items:center}.scheme-claimed{display:flex;align-items:center;gap:.6rem}.checkbox-input{width:18px;height:18px;cursor:pointer;accent-color:#003366}.checkbox-label{font-size:.95rem;font-weight:500;color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none}.scheme-inputs{display:grid;grid-template-columns:2fr 2fr 1fr;gap:.75rem}.submit-btn{background:#e63946;color:#fff;border:none;padding:1.15rem 3rem;border-radius:.5rem;font-size:1.05rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.75rem;justify-content:center;box-shadow:0 4px 12px #e6394633}.submit-btn:hover:not(:disabled){background:#c71c29;transform:translateY(-2px);box-shadow:0 6px 16px #e639464d}.submit-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.search-btn{background:#036;color:#fff;border:none;padding:.85rem 1.75rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;justify-content:center;flex:1}.cancel-btn{background:#f1f5f9;color:#64748b;border:2px solid #e2e8f0;padding:.85rem 1.75rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;justify-content:center}@media (max-width: 768px){.addrecord-container{padding:1rem}.header-content{flex-direction:column;text-align:center}.addrecord-content{gap:1.5rem}.card-body{padding:1.5rem}.selected-patient{flex-direction:column}.patient-info,.change-patient-btn{width:100%}.form-section{padding:1.25rem}.form-grid-2,.scheme-inputs{grid-template-columns:1fr}.dynamic-item{flex-direction:column;align-items:stretch}.remove-btn{align-self:flex-end;width:fit-content}.add-item-btn{align-self:stretch}.modal-container{max-height:95vh;margin:0}.modal-body{padding:1.5rem;gap:1.5rem}.form-grid{grid-template-columns:1fr}.modal-actions{flex-direction:column}.search-btn,.cancel-btn{width:100%}.submit-btn{width:100%;padding:1rem 2rem}}@media (max-width: 480px){.addrecord-title{font-size:1.5rem}.addrecord-subtitle{font-size:.85rem}.modal-header{padding:1rem 1.5rem}.modal-title{font-size:1.2rem}.section-header h3,.patient-name{font-size:1rem}.patient-id,.patient-email{font-size:.8rem}.file-upload-label{padding:2rem 1.5rem}.form-input,.form-select{font-size:.9rem;padding:.75rem .85rem}}.change-patient-btn:focus,.select-patient-btn:focus,.add-item-btn:focus,.remove-btn:focus,.submit-btn:focus,.search-btn:focus,.cancel-btn:focus,.modal-close:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}.form-section{animation:fadeInUp .4s ease-out;animation-fill-mode:both}@media print{.addrecord-header,.modal-overlay,.change-patient-btn,.select-patient-btn,.add-item-btn,.remove-btn,.submit-btn{display:none}.form-section{page-break-inside:avoid;box-shadow:none;border:1px solid #e2e8f0}}.success-message{background:#d1fae5;color:#065f46;padding:1rem;border-radius:.5rem;border-left:4px solid #10b981;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:.5rem;border-left:4px solid #ef4444;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.record-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.record-loader{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;background:#f5f7fb;gap:1.5rem}.loader-text{font-size:clamp(1rem,1.2vw,1.1rem);color:#036;font-weight:500;margin:0}.record-header{max-width:1200px;margin:0 auto 2rem}.header-content{background:linear-gradient(135deg,#036,#004080);padding:clamp(1.5rem,3vw,2.5rem);border-radius:.75rem;box-shadow:0 4px 12px #00336626;display:flex;align-items:center;gap:1.5rem;color:#fff;flex-direction:column;text-align:center}.record-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;margin:0 0 .5rem;letter-spacing:-.5px}.record-subtitle{font-size:clamp(.95rem,1.1vw,1.05rem);opacity:.9;margin:0;font-weight:400}.record-content{max-width:1200px;margin:2rem auto 0}.empty-state{background:#fff;border-radius:.75rem;padding:clamp(3rem,6vw,5rem);text-align:center;box-shadow:0 2px 8px #00000014}.empty-state p{font-size:clamp(.95rem,1.1vw,1.05rem);color:#64748b;margin:0}.record-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.record-card{background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:all .25s ease;overflow:hidden;border:2px solid transparent;animation:fadeInUp .4s ease-out;animation-fill-mode:both}.record-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #00336626;border-color:#036}.record-card-header{background:linear-gradient(135deg,#036,#004080);padding:1.25rem;display:flex;justify-content:space-between;align-items:center;color:#fff}.record-badge{background:#fff3;padding:.35rem .75rem;border-radius:1rem;font-size:.8rem;font-weight:500;letter-spacing:.3px}.record-card-body{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.modal-container{background:#fff;border-radius:.75rem;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 50px #0000004d;animation:modalSlideIn .3s ease-out}.modal-title{font-size:clamp(1.3rem,2vw,1.6rem);font-weight:600;margin:0;display:flex;align-items:center;gap:.75rem}.modal-body{padding:2rem;display:flex;flex-direction:column;gap:2rem}.search-section{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.3rem}.form-label{font-size:.85rem;font-weight:500;color:#64748b}.form-input,.form-select{padding:.6rem 1rem;border:1px solid #cbd5e1;border-radius:.5rem;font-size:.95rem}.form-input:focus,.form-select:focus{outline:2px solid #003366;border-color:#036}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.divider{text-align:center;font-weight:600;color:#64748b;margin:1rem 0}.divider span{background:#f5f7fb;padding:0 1rem}.modal-actions{display:flex;justify-content:flex-end;gap:1rem}.search-btn{background:#036;color:#fff}.cancel-btn{background:#e63946;color:#fff}.detail-section{background:#f8fafc;border-radius:.6rem;padding:1.5rem;border:1px solid #e2e8f0;margin-top:2rem}.section-title{font-size:clamp(1.1rem,1.3vw,1.25rem);font-weight:600;color:#036;margin:0 0 1.25rem;padding-bottom:.75rem;border-bottom:2px solid #003366}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}.detail-item{display:flex;flex-direction:column;gap:.5rem}.detail-label{font-size:.85rem;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:.95rem;color:#1e293b;font-weight:500;word-break:break-all;padding:.75rem;background:#fff;border-radius:.4rem;border:1px solid #e2e8f0}@media (max-width: 768px){.record-container{padding:1rem}.record-grid,.detail-grid{grid-template-columns:1fr}.modal-container{max-height:95vh;margin:0;border-radius:.5rem}.modal-body{padding:1.5rem;gap:1.5rem}}@media (max-width: 480px){.record-title{font-size:1.5rem}.record-subtitle{font-size:.85rem}.modal-header{padding:1rem 1.5rem}.modal-title{font-size:1.2rem}.section-title{font-size:1rem}.info-label,.detail-label{font-size:.8rem}.info-value,.detail-value{font-size:.85rem}}.add-family-container{min-width:80vw;max-width:900px;margin:40px auto;padding:30px;background:#fdfdfd;border-radius:12px;box-shadow:0 4px 12px #00000014;font-family:Segoe UI,sans-serif}.add-family-container h2{text-align:center;margin-bottom:20px;color:#036;font-size:1.8rem}.form-section,.relation-section{margin-bottom:20px;display:flex;flex-direction:column;gap:10px}.person-box{display:flex;gap:10px}.person-box input{flex:1;padding:10px 12px;border:1px solid #ccc;border-radius:6px;font-size:1rem}.select-btn,.submit-btn,.lookup-btn,.cancel-btn{background:#004c99;color:#fff;border:none;padding:10px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:background .3s ease}.select-btn:hover,.submit-btn:hover,.lookup-btn:hover{background:#06c}.cancel-btn{background:#999}.cancel-btn:hover{background:#777}.divider{text-align:center;color:#666;font-weight:600;margin:15px 0}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:10px}.modal-box{background:#fff;padding:25px 30px;border-radius:12px;width:100%;max-width:450px;box-shadow:0 4px 20px #0003;overflow-y:auto}.modal-section{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.modal-section input,.modal-section select{padding:10px 12px;border-radius:6px;border:1px solid #ccc;font-size:.95rem}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:10px}.search-result-card{background:#f2f5f8;border-radius:10px;padding:12px;margin-top:10px;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #0000000d}.search-result-card:hover{background:#e6eff7;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.search-result-card p{margin:4px 0;color:#036;font-size:.95rem}@media (max-width: 768px){.person-box{flex-direction:column;gap:8px}.person-box input{width:100%}}.add-hospital-container{width:40vw;margin:40px auto;padding:30px;background:#fdfdfd;border-radius:12px;box-shadow:0 4px 12px #00000014;font-family:Segoe UI,sans-serif}h2{text-align:center;margin-bottom:20px;color:#036;font-size:1.8rem}.section{margin-bottom:20px;padding:15px;background:#f2f5f8;border-radius:10px}.section h3{margin-bottom:10px;color:#004080}input{display:block;width:100%;padding:10px 12px;margin:6px 0 12px;border:1px solid #ccc;border-radius:6px;font-size:.95rem;transition:border .2s ease,box-shadow .2s ease}input:focus{border-color:#004c99;box-shadow:0 0 4px #004c994d;outline:none}.add-btn,.submit-btn{background:#004c99;color:#fff;border:none;padding:10px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:background .3s ease;margin-top:8px}.add-btn:hover,.submit-btn:hover{background:#06c}.submit-section{text-align:center;margin-top:20px}@media (max-width: 900px){.add-hospital-container{padding:20px}}.add-scheme-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.scheme-header{max-width:1000px;margin:0 auto 2rem}.header-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;margin:0 0 .5rem;letter-spacing:-.5px}.header-subtitle{font-size:clamp(.95rem,1.1vw,1.05rem);opacity:.9;margin:0;font-weight:400}.scheme-form{max-width:1000px;margin:0 auto;display:flex;flex-direction:column;gap:2rem}.form-section{background:#fff;border-radius:.75rem;padding:1.75rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #003366;animation:fadeInUp .4s ease-out;animation-fill-mode:both}.form-section:nth-child(1){animation-delay:.1s}.form-section:nth-child(2){animation-delay:.2s}.form-section:nth-child(3){animation-delay:.3s}.form-section:nth-child(4){animation-delay:.4s}.form-section:nth-child(5){animation-delay:.5s}.form-section:nth-child(6){animation-delay:.6s}.form-section:nth-child(7){animation-delay:.7s}.section-title{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0;font-size:clamp(1.1rem,1.3vw,1.25rem);font-weight:600;color:#1e293b}.section-icon{flex-shrink:0;font-size:1.5rem}.section-title svg{color:#036;flex-shrink:0}.form-grid{display:grid;gap:1.25rem}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:500;color:#334155}.form-label svg{color:#036;flex-shrink:0}.required{color:#e63946;font-weight:600}.form-input,.form-select{width:100%;padding:.85rem 1rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:.95rem;font-family:inherit;transition:all .2s ease;box-sizing:border-box;background:#fff;color:#1e293b}.form-input:hover:not(:focus):not(:disabled),.form-select:hover:not(:focus):not(:disabled){border-color:#cbd5e1}.form-input:disabled,.form-select:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.input-error{border-color:#e63946}.input-error:focus{border-color:#e63946;box-shadow:0 0 0 3px #e639461a}.error-message{background:#fee2e2;color:#991b1b;padding:.5rem .75rem;border-radius:.375rem;font-size:.85rem;display:flex;align-items:center;gap:.5rem}.checkbox-container{margin-bottom:1rem}.checkbox-label{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:#f8fafc;border:2px solid #e2e8f0;border-radius:.5rem;cursor:pointer;transition:all .2s ease}.checkbox-label:hover{background:#f1f5f9;border-color:#cbd5e1}.form-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#003366;flex-shrink:0}.checkbox-text{font-size:.95rem;font-weight:500;color:#334155;display:flex;align-items:center;gap:.5rem}.check-icon{color:#16a34a;display:none}.form-checkbox:checked~.checkbox-text .check-icon{display:inline-block}.array-field-group{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.array-field-group:last-child{margin-bottom:0}.array-items{display:flex;flex-direction:column;gap:.75rem}.array-item{display:flex;gap:.75rem;align-items:center;animation:slideInRight .3s ease-out}button{font-family:Inter,sans-serif;cursor:pointer;transition:all .2s ease;border:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.btn-add{background:#f1f5f9;color:#036;border:2px dashed #cbd5e1;padding:.85rem 1.5rem;border-radius:.5rem;font-size:.95rem;font-weight:500;align-self:flex-start}.btn-add:hover:not(:disabled){background:#e2e8f0;border-color:#036;border-style:solid}.btn-icon{padding:.85rem;border-radius:.5rem;flex-shrink:0}.btn-remove{background:#fee2e2;color:#991b1b}.btn-remove:hover:not(:disabled){background:#fecaca;transform:scale(1.05)}.form-actions{display:flex;justify-content:center;padding-top:1rem}.btn-submit{background:#e63946;color:#fff;padding:1.15rem 3rem;border-radius:.5rem;font-size:1.05rem;font-weight:600;box-shadow:0 4px 12px #e6394633}.btn-submit:hover:not(:disabled){background:#c71c29;transform:translateY(-2px);box-shadow:0 6px 16px #e639464d}.btn-submit:active:not(:disabled){transform:translateY(0)}.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes slideInRight{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.success-message{background:#d1fae5;color:#065f46;padding:1rem;border-radius:.5rem;border-left:4px solid #10b981;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;font-size:.95rem}.btn-add:focus,.btn-remove:focus,.btn-submit:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}.checkbox-input:focus{outline:2px solid rgba(0,51,102,.3);outline-offset:2px}@media (max-width: 768px){.add-scheme-container{padding:1rem}.scheme-header{margin-bottom:1.5rem}.header-content{flex-direction:column;text-align:center;padding:1.5rem}.scheme-form{gap:1.5rem}.form-section{padding:1.25rem}.form-grid.grid-2,.form-grid.grid-3{grid-template-columns:1fr}.array-item{flex-direction:column;align-items:stretch}.btn-remove{align-self:flex-end;width:fit-content}.btn-add{align-self:stretch}.btn-submit{width:100%;padding:1rem 2rem}}@media (max-width: 480px){.add-scheme-container{padding:1rem}.header-title{font-size:1.5rem}.header-subtitle{font-size:.85rem}.section-title{font-size:1rem;flex-wrap:wrap}.section-icon{font-size:1.25rem}.form-input,.form-select{font-size:.9rem;padding:.75rem .85rem}.form-label{font-size:.85rem}.checkbox-label{padding:.85rem 1rem}.checkbox-text{font-size:.9rem}.btn-add{width:100%;padding:.75rem 1.25rem;font-size:.9rem}}@media print{.scheme-header,.btn-add,.btn-remove,.btn-submit{display:none}.add-scheme-container{background:#fff;padding:0}.form-section{page-break-inside:avoid;box-shadow:none;border:1px solid #e2e8f0;margin-bottom:1rem}.form-input,.form-select{border:1px solid #cbd5e1}}.form-loading{position:relative;pointer-events:none;opacity:.6}.form-loading:after{content:"";position:absolute;inset:0;background:#fffc;display:flex;align-items:center;justify-content:center}.add-scheme-container::-webkit-scrollbar{width:8px}.add-scheme-container::-webkit-scrollbar-track{background:#f1f5f9}.add-scheme-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.add-scheme-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.form-section:hover{box-shadow:0 4px 12px #0000001f;transform:translateY(-2px)}.text-center{text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.getsummary-container{width:100%;min-height:100vh;background:#f5f7fb;font-family:Inter,sans-serif;padding:clamp(1.5rem,4vw,3rem);box-sizing:border-box}.getsummary-header{max-width:1200px;margin:0 auto 2rem}.header-content{background:linear-gradient(135deg,#036,#004080);padding:clamp(1.5rem,3vw,2.5rem);border-radius:.75rem;box-shadow:0 4px 12px #00336626;display:flex;align-items:center;gap:1.5rem;color:#fff}.header-icon{flex-shrink:0}.header-text{flex:1}.getsummary-title{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;margin:0 0 .5rem;letter-spacing:-.5px}.getsummary-subtitle{font-size:clamp(.95rem,1.1vw,1.05rem);opacity:.9;margin:0;font-weight:400}.getsummary-content{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:2rem}.selection-card{background:#fff;border-radius:.75rem;box-shadow:0 2px 8px #00000014;overflow:hidden}.selection-header{background:linear-gradient(135deg,#036,#004080);padding:1.25rem 1.5rem;display:flex;align-items:center;gap:.75rem;color:#fff}.selection-header h3{font-size:clamp(1.1rem,1.3vw,1.25rem);font-weight:600;margin:0}.selection-body{padding:2rem}.selected-user{display:flex;flex-direction:column;gap:1.5rem}.user-info{display:flex;align-items:center;gap:1.25rem;padding:1.25rem;background:#f8fafc;border-radius:.6rem;border:2px solid #e2e8f0}.user-avatar{width:48px;height:48px;padding:.75rem;background:linear-gradient(135deg,#036,#004080);color:#fff;border-radius:50%;flex-shrink:0}.user-details{display:flex;flex-direction:column;gap:.35rem;flex:1}.user-name{font-size:1.15rem;font-weight:600;color:#1e293b}.user-id{font-size:.9rem;color:#64748b;font-family:Courier New,monospace}.selection-actions{display:flex;gap:1rem;flex-wrap:wrap}.change-user-btn,.analyze-btn,.select-user-btn,.search-btn,.cancel-btn{padding:.85rem 1.75rem;border-radius:.5rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem;justify-content:center;border:none}.change-user-btn{background:#fff;color:#036;border:2px solid #003366}.change-user-btn:hover{background:#036;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #0363}.analyze-btn{background:#e63946;color:#fff;flex:1;min-width:160px}.analyze-btn:hover:not(:disabled){background:#c71c29;transform:translateY(-2px);box-shadow:0 4px 12px #e6394640}.analyze-btn:disabled{opacity:.6;cursor:not-allowed}.no-user{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:3rem 2rem;text-align:center}.no-user-icon{color:#cbd5e1}.no-user-text{font-size:1.1rem;color:#64748b;margin:0}.select-user-btn{background:#036;color:#fff;padding:1rem 2rem;font-size:1rem}.select-user-btn:hover{background:#002a52;transform:translateY(-2px);box-shadow:0 4px 12px #00336640}.summary-results{display:flex;flex-direction:column;gap:1.5rem}.results-header{display:flex;align-items:center;gap:1rem;padding:1rem 0;border-bottom:3px solid #003366}.results-header h2{font-size:clamp(1.5rem,2.5vw,1.85rem);font-weight:600;color:#036;margin:0}.result-card{background:#fff;border-radius:.75rem;padding:1.75rem;box-shadow:0 2px 8px #00000014;border-left:4px solid #003366;transition:all .3s ease}.result-card:hover{box-shadow:0 4px 16px #00336626;transform:translate(4px)}.summary-card{border-left-color:#036}.patterns-card{border-left-color:#2563eb}.risks-card{border-left-color:#e63946;background:#fef2f2}.recommendations-card{border-left-color:#16a34a}.card-title{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0}.card-title h3{font-size:clamp(1.1rem,1.3vw,1.25rem);font-weight:600;color:#1e293b;margin:0}.card-title svg{color:#036;flex-shrink:0}.risks-card .card-title svg{color:#e63946}.recommendations-card .card-title svg{color:#16a34a}.card-content{font-size:.95rem;line-height:1.7;color:#334155;margin:0;white-space:pre-wrap;word-wrap:break-word}.recommendation-section{margin-bottom:1.5rem}.recommendation-section:last-child{margin-bottom:0}.recommendation-subtitle{font-size:1rem;font-weight:600;color:#036;margin:0 0 .75rem;display:flex;align-items:center;gap:.5rem}.recommendation-section p{font-size:.95rem;line-height:1.7;color:#334155;margin:0}.questions-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.questions-list li{padding-left:1.5rem;position:relative;font-size:.95rem;line-height:1.6;color:#334155}.questions-list li:before{content:"•";position:absolute;left:.5rem;color:#036;font-weight:700;font-size:1.2rem}.empty-analysis{background:#fff;border-radius:.75rem;padding:clamp(3rem,6vw,5rem);text-align:center;box-shadow:0 2px 8px #00000014}.empty-icon{color:#cbd5e1;margin-bottom:1.5rem}.empty-analysis h3{font-size:clamp(1.3rem,2vw,1.6rem);color:#036;margin:0 0 .75rem;font-weight:600}.empty-analysis p{font-size:clamp(.95rem,1.1vw,1.05rem);color:#64748b;margin:0}.modal-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:1000;padding:1rem;overflow-y:auto}.modal-container{background:#fff;border-radius:.75rem;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 50px #0000004d;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{background:linear-gradient(135deg,#036,#004080);padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;color:#fff;position:sticky;top:0;z-index:10}.modal-title{font-size:clamp(1.3rem,2vw,1.5rem);font-weight:600;margin:0;display:flex;align-items:center;gap:.75rem}.modal-close{background:#fff3;border:none;color:#fff;padding:.5rem;border-radius:.4rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#ffffff4d;transform:scale(1.05)}.modal-body{padding:2rem;display:flex;flex-direction:column;gap:1.75rem}.modal-description{font-size:.95rem;color:#64748b;margin:0;text-align:center}.search-section{background:#f8fafc;border-radius:.6rem;padding:1.5rem;border:1px solid #e2e8f0}.search-heading{font-size:1.05rem;font-weight:600;color:#036;margin:0 0 1.25rem}.form-group{margin-bottom:1.25rem}.form-group:last-child{margin-bottom:0}.form-label{display:block;font-size:.9rem;font-weight:500;color:#334155;margin-bottom:.5rem}.form-input,.form-select{width:100%;padding:.85rem 1rem;border:2px solid #e2e8f0;border-radius:.5rem;font-size:.95rem;font-family:inherit;transition:all .2s ease;box-sizing:border-box}.form-input::placeholder{color:#94a3b8}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.divider{position:relative;text-align:center;margin:1.5rem 0}.divider:before{content:"";position:absolute;left:0;top:50%;width:100%;height:1px;background:#e2e8f0}.divider span{position:relative;background:#fff;padding:0 1rem;color:#64748b;font-size:.9rem;font-weight:500}.modal-actions{display:flex;gap:1rem;padding-top:.5rem}.search-btn{background:#036;color:#fff;flex:1}.search-btn:hover:not(:disabled){background:#002a52;transform:translateY(-2px);box-shadow:0 4px 12px #00336640}.search-btn:disabled{opacity:.6;cursor:not-allowed}.cancel-btn{background:#f1f5f9;color:#64748b;border:2px solid #e2e8f0}.cancel-btn:hover{background:#e2e8f0;color:#334155}.spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.modal-container::-webkit-scrollbar{width:8px}.modal-container::-webkit-scrollbar-track{background:#f1f5f9}.modal-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.modal-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.result-card{animation:fadeInUp .4s ease-out;animation-fill-mode:both}.summary-card{animation-delay:.1s}.patterns-card{animation-delay:.2s}.risks-card{animation-delay:.3s}.recommendations-card{animation-delay:.4s}@media (max-width: 768px){.getsummary-container{padding:1rem}.header-content{flex-direction:column;text-align:center}.getsummary-content{gap:1.5rem}.selection-body{padding:1.5rem}.selected-user{gap:1.25rem}.user-info{flex-direction:column;text-align:center;padding:1.5rem}.selection-actions{flex-direction:column}.change-user-btn,.analyze-btn{width:100%}.result-card{padding:1.25rem}.modal-container{max-height:95vh;margin:0}.modal-body{padding:1.5rem;gap:1.5rem}.form-grid{grid-template-columns:1fr}.modal-actions{flex-direction:column}.search-btn,.cancel-btn{width:100%}.results-header{flex-direction:column;align-items:flex-start}}@media (max-width: 480px){.getsummary-title{font-size:1.5rem}.getsummary-subtitle{font-size:.85rem}.modal-header{padding:1rem 1.5rem}.modal-title{font-size:1.2rem}.card-title h3{font-size:1rem}.card-content,.recommendation-section p,.questions-list li{font-size:.85rem}.user-name{font-size:1rem}.user-id{font-size:.8rem}.no-user-icon{width:40px;height:40px}}.change-user-btn:focus,.analyze-btn:focus,.select-user-btn:focus,.search-btn:focus,.cancel-btn:focus,.modal-close:focus{outline:3px solid rgba(0,51,102,.3);outline-offset:2px}.form-input:focus,.form-select:focus{outline:none;border-color:#036;box-shadow:0 0 0 3px #0033661a}@media print{.getsummary-header,.selection-card,.modal-overlay{display:none}.summary-results{page-break-inside:avoid}.result-card{page-break-inside:avoid;box-shadow:none;border:1px solid #e2e8f0;margin-bottom:1rem}}.analyze-btn:disabled .spinner,.search-btn:disabled .spinner{display:inline-block}.result-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(to bottom,#036,#004080);transition:width .3s ease}.result-card:hover:before{width:6px}.success-message{background:#d1fae5;color:#065f46;padding:1rem;border-radius:.5rem;border-left:4px solid #10b981;margin-bottom:1rem}.error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:.5rem;border-left:4px solid #ef4444;margin-bottom:1rem}[data-tooltip]{position:relative;cursor:help}[data-tooltip]:after{content:attr(data-tooltip);position:absolute;bottom:100%;left:50%;transform:translate(-50%);padding:.5rem .75rem;background:#1e293b;color:#fff;font-size:.8rem;border-radius:.4rem;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease;margin-bottom:.5rem}[data-tooltip]:hover:after{opacity:1}.sensitive-container{max-width:600px;margin:60px auto;padding:30px;background:#fdfdfd;border-radius:12px;box-shadow:0 4px 12px #00000014;font-family:Segoe UI,sans-serif;color:#036}.sensitive-container h2{text-align:center;margin-bottom:25px;color:#004c99;font-size:1.8rem}.sensitive-form{display:flex;flex-direction:column;gap:15px}.input-group{display:flex;flex-direction:column}.input-group label{font-weight:600;margin-bottom:6px;color:#036}.input-group input{padding:10px 12px;border-radius:6px;border:1px solid #ccc;font-size:.95rem;transition:border .2s ease,box-shadow .2s ease}.input-group input:focus{border-color:#004c99;box-shadow:0 0 4px #004c994d;outline:none}.sensitive-form button{background:#004c99;color:#fff;border:none;padding:12px 18px;border-radius:6px;font-weight:600;cursor:pointer;transition:background .3s ease;margin-top:10px}.sensitive-form button:hover{background:#06c}.msg{margin-top:15px;color:#0077b6;text-align:center;font-size:.9rem}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}
