:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}h1,h2,h3,h4,h5,h6{margin:0;line-height:1.2}button{font-family:inherit}.app-container{min-height:100vh;display:flex;flex-direction:column;background:#f5f5f5}.app-header{background:#fff;box-shadow:0 2px 8px #0000001a;padding:1rem 2rem;position:sticky;top:0;z-index:100}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:2rem}.header-left{flex:1}.header-title{font-size:1.5rem;font-weight:700;margin:0 0 .5rem;color:#333;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.user-info{display:flex;align-items:center;gap:.75rem;font-size:.9rem}.user-name{font-weight:500;color:#333}.user-role{padding:.25rem .5rem;background:#e0e7ff;color:#4f46e5;border-radius:4px;font-size:.85rem;font-weight:500;text-transform:capitalize}.header-right{display:flex;align-items:center;gap:1rem}.logout-button{padding:.5rem 1rem;background:#ef4444;color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .2s}.logout-button:hover{background:#dc2626}.fhir-status-compact{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e0e0e0}.refresh-btn-compact{background:transparent;border:none;cursor:pointer;font-size:.9rem;padding:.25rem;border-radius:4px;transition:background .2s}.refresh-btn-compact:hover:not(:disabled){background:#e0e0e0}.refresh-btn-compact:disabled{opacity:.5;cursor:not-allowed}.status-indicator-compact{display:flex;align-items:center;gap:.5rem}.status-dot-compact{width:10px;height:10px;border-radius:50%;display:inline-block;animation:pulse 2s infinite}.status-text-compact{font-size:.85rem;font-weight:500;color:#333}.error-indicator{font-size:.9rem;cursor:help}.main-app{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%}.main-content{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.main-content h2{color:#333;margin-bottom:1rem}.main-content p{color:#666;line-height:1.6}.feature-section{margin-top:2rem;padding-top:2rem;border-top:1px solid #e0e0e0}.feature-section h3{color:#333;margin-bottom:1rem;font-size:1.25rem}.feature-section ul{list-style:none;padding:0;margin:0}.feature-section li{color:#666;padding:.5rem 0 .5rem 1.5rem;position:relative}.feature-section li:before{content:"✓";position:absolute;left:0;color:#667eea;font-weight:700}.home-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.home-header{text-align:center;color:#fff;margin-bottom:3rem;padding:2rem 0}.app-title{font-size:3.5rem;font-weight:700;margin:0 0 1rem;text-shadow:2px 2px 4px rgba(0,0,0,.2);letter-spacing:-.02em}.app-subtitle{font-size:1.25rem;opacity:.95;margin:0;font-weight:300}.home-content{display:flex;justify-content:center;align-items:flex-start;max-width:1200px;margin:0 auto;width:100%}.main-section{display:flex;justify-content:center;align-items:flex-start;width:100%}.login-form{background:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 10px 40px #0003;width:100%;max-width:400px}.login-form h2{margin:0 0 2rem;color:#333;font-size:2rem;font-weight:600}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#555;font-weight:500;font-size:.9rem}.form-group input{width:100%;padding:.875rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:all .2s;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.login-button{width:100%;padding:.875rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:.5rem}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed}.test-accounts{margin-top:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e0e0e0}.test-accounts-title{margin:0 0 .75rem;font-size:.9rem;font-weight:600;color:#333}.test-account{margin:.5rem 0;font-size:.85rem;color:#666;line-height:1.6}.test-account strong{color:#333;margin-right:.5rem}.error-message{background-color:#fee;color:#c33;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.9rem;border:1px solid #fcc}.fhir-status{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 10px 40px #0003;width:100%;max-width:400px}.fhir-status-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.fhir-status-header h3{margin:0;color:#333;font-size:1.5rem;font-weight:600}.refresh-btn{background:#f0f0f0;border:2px solid #e0e0e0;border-radius:8px;padding:.5rem;cursor:pointer;font-size:1.2rem;transition:all .2s;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.refresh-btn:hover:not(:disabled){background:#e0e0e0;border-color:#ccc}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}.fhir-status-content{display:flex;flex-direction:column;gap:1rem}.status-indicator{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#f8f9fa;border-radius:8px}.status-dot{width:12px;height:12px;border-radius:50%;display:inline-block;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.status-text{font-weight:600;font-size:1.1rem;color:#333}.status-details{display:flex;flex-direction:column;gap:.5rem;font-size:.9rem;color:#666}.status-details p{margin:0;line-height:1.6}.status-details strong{color:#333;font-weight:600}.status-details .error-message{margin-top:.5rem}@media(max-width:768px){.app-title{font-size:2.5rem}.app-subtitle{font-size:1rem}.home-page{padding:1rem}.login-form,.fhir-status{max-width:100%}.app-header{padding:1rem}.header-content{flex-direction:column;align-items:flex-start;gap:1rem}.header-right{width:100%;justify-content:space-between}.header-title{font-size:1.25rem}.main-app{padding:1rem}}
