@import "https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap";html,body,#root{width:100%;height:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f0f9ff;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}:root,[data-theme=light]{--bg:#fff;--bg-secondary:#f8fafc;--surface:#fff;--text-primary:#0f172a;--text-secondary:#64748b;--accent:#0474fc;--accent-hover:#035ecb;--accent-light:#0474fc1a;--border:#e2e8f0;--shadow-sm:0 1px 2px 0 #0000000d;--shadow:0 4px 6px -1px #0f172a14, 0 2px 4px -2px #0f172a14;--shadow-lg:0 10px 15px -3px #0f172a1a, 0 4px 6px -4px #0f172a1a;--radius-sm:6px;--radius:12px;--radius-lg:16px;--navbar-bg:#ffffffb8}[data-theme=dark]{--bg:#0a0a0b;--bg-secondary:#111113;--surface:#18181b;--text-primary:#fafafa;--text-secondary:#a1a1aa;--accent:#fafafa;--accent-hover:#e4e4e7;--accent-light:#fafafa14;--border:#27272a;--shadow-sm:0 1px 2px 0 #0000004d;--shadow:0 4px 6px -1px #0000004d, 0 2px 4px -2px #0000004d;--shadow-lg:0 10px 15px -3px #00000080, 0 4px 6px -4px #00000080;--radius-sm:6px;--radius:12px;--radius-lg:16px;--navbar-bg:#0a0a0bbf}body{background-color:var(--bg-secondary);color:var(--text-primary);margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s}div,nav,aside,button,input,select,textarea{transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s}.ui-card{transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1),border-color .3s!important}.ui-card.hoverable-card:hover{box-shadow:0 16px 36px #0000000f, var(--shadow-lg)!important;border-color:var(--accent)!important;transform:translateY(-6px)!important}[data-theme=dark] .ui-card.hoverable-card:hover{box-shadow:0 16px 36px #0006, var(--shadow-lg)!important;border-color:#fff!important}.layout-container{background:var(--bg-secondary);flex-direction:column;min-height:100vh;display:flex}.top-navbar{background:var(--navbar-bg);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);z-index:1000;box-shadow:var(--shadow-sm);padding:0 32px;transition:all .3s;position:sticky;top:0}.top-navbar.scrolled{box-shadow:var(--shadow-lg);background:var(--navbar-bg)}.nav-container{justify-content:space-between;align-items:center;max-width:1400px;height:72px;margin:0 auto;transition:height .2s;display:flex}.top-navbar.scrolled .nav-container{height:64px}.nav-logo{cursor:pointer;-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;gap:12px;text-decoration:none;transition:opacity .2s;display:flex}.nav-logo:hover{opacity:.9}.logo-icon-wrapper{background:var(--accent-light);border:1px solid var(--border);border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;transition:all .2s;display:flex}.logo-icon-wrapper svg{width:22px;height:22px;stroke:var(--accent)}.logo-text-wrapper{align-items:baseline;gap:4px;display:flex}.logo-text{color:var(--text-primary);letter-spacing:-.5px;font-size:20px;font-weight:800}.logo-subtext{color:var(--accent);letter-spacing:-.5px;font-size:18px;font-weight:700}.nav-links{align-items:center;gap:8px;display:flex}.nav-link{border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:600;transition:all .2s;display:flex;position:relative}.nav-link:hover{color:var(--text-primary);background:var(--accent-light)}.nav-link.active{color:var(--accent);background:var(--accent-light)}.nav-icon{justify-content:center;align-items:center;display:flex}.nav-label{font-weight:700}.nav-profile{position:relative}.profile-btn{border:1px solid var(--border);cursor:pointer;border-radius:var(--radius);background:0 0;align-items:center;gap:12px;padding:6px 16px;transition:all .2s;display:flex}.profile-btn:hover{background:var(--bg-secondary)}.profile-avatar{background:var(--accent-light);width:36px;height:36px;color:var(--accent);border:1px solid var(--accent);border-radius:50%;justify-content:center;align-items:center;font-size:15px;font-weight:800;display:flex}.profile-info{text-align:left;flex-direction:column;gap:2px;display:flex}.profile-name{color:var(--text-primary);font-size:13px;font-weight:700}.profile-role{color:#16a34a;font-size:11px;font-weight:700}.profile-arrow{color:var(--text-secondary);font-size:12px;transition:transform .2s}.profile-arrow.open{transform:rotate(180deg)}.profile-dropdown{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);z-index:1000;min-width:250px;margin-top:10px;padding:8px 0;animation:.2s ease-out dropdownIn;position:absolute;top:100%;right:0;overflow:hidden}@keyframes dropdownIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{align-items:center;gap:12px;padding:16px 20px;display:flex}.dropdown-avatar{background:var(--accent-light);width:40px;height:40px;color:var(--accent);border:1.5px solid var(--accent);border-radius:50%;justify-content:center;align-items:center;font-size:16px;font-weight:800;display:flex}.dropdown-info{text-align:left;flex-direction:column;gap:2px;display:flex}.dropdown-name{color:var(--text-primary);font-size:14px;font-weight:800}.dropdown-email{color:var(--text-secondary);font-size:11px}.dropdown-status{color:#16a34a;font-size:11px;font-weight:700}.dropdown-divider{background-color:var(--border);border:none;height:1px;margin:8px 0}.dropdown-item{cursor:pointer;width:100%;color:var(--text-primary);text-align:left;background:0 0;border:none;align-items:center;gap:12px;padding:12px 20px;font-size:14px;transition:background .2s;display:flex}.dropdown-item:hover{background:var(--bg-secondary)}.dropdown-item.logout{color:#dc2626}.dropdown-item.logout svg{stroke:#dc2626}.dropdown-item-content{flex-direction:column;gap:2px;display:flex}.dropdown-item-sub{color:var(--text-secondary);font-size:11px}.main-content{background:var(--bg-secondary);flex:1}@media (width<=768px){.top-navbar{padding:0 16px!important}.top-navbar .nav-links,.top-navbar .profile-info,.profile-arrow{display:none!important}.main-content{padding-bottom:80px!important}.bottom-navbar{background:var(--navbar-bg);-webkit-backdrop-filter:blur(16px);border:1px solid var(--border);z-index:1000;height:64px;box-shadow:var(--shadow-lg);box-sizing:border-box;border-radius:16px;justify-content:space-around;align-items:center;padding:0 8px;position:fixed;bottom:12px;left:16px;right:16px;display:flex!important}.bottom-nav-item{color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;padding:6px 8px;transition:all .2s;display:flex;position:relative}.bottom-nav-item.active{color:var(--accent)}.bottom-nav-icon{justify-content:center;align-items:center;display:flex}.bottom-nav-icon svg{width:20px;height:20px}.bottom-nav-label{font-size:10px;font-weight:700}.bottom-nav-indicator{background-color:var(--accent);border-radius:99px;width:12px;height:2px;position:absolute;bottom:2px}}.bottom-navbar{display:none}@media (width<=580px){.main-content{padding:16px 12px 80px!important}.ui-card{padding:16px!important}}.medicine-page{background:var(--bg-secondary);box-sizing:border-box;max-width:100%;min-height:calc(100vh - 80px);margin:0 auto;padding:24px}.medicine-header{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow);box-sizing:border-box;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:24px;display:flex}.medicine-header h1{color:var(--text-primary);margin:0;font-size:24px;font-weight:800}.medicine-count{color:var(--text-secondary);fontWeight:500;margin:4px 0 0;font-size:14px}.refresh-btn{background:var(--accent);border-radius:var(--radius);color:var(--bg);cursor:pointer;box-shadow:var(--shadow-sm);border:none;padding:10px 20px;font-size:14px;font-weight:600;transition:all .2s}.refresh-btn:hover{opacity:.9;transform:translateY(-1px)}.search-container{margin-bottom:24px}.search-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);box-sizing:border-box;align-items:center;padding:0 16px;transition:all .2s;display:flex}.search-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.search-icon{color:var(--text-secondary);margin-right:12px;font-size:18px}.search-input{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;padding:14px 0;font-size:15px}.search-input::placeholder{color:var(--text-secondary)}.clear-search{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;font-size:18px}.search-count{color:var(--text-secondary);margin-left:12px;font-size:13px;font-weight:600}.table-container{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow);box-sizing:border-box;margin-bottom:24px;overflow-x:auto}.medicine-table{border-collapse:collapse;text-align:left;width:100%}.medicine-table th{background:var(--bg-secondary);text-transform:uppercase;color:var(--text-secondary);border-bottom:1px solid var(--border);padding:16px 20px;font-size:12px;font-weight:700}.medicine-table td{color:var(--text-primary);border-bottom:1px solid var(--border);padding:16px 20px;font-size:14px}.medicine-table tr:last-child td{border-bottom:none}.medicine-table tr:hover td{background:var(--bg-secondary)}.product-name{color:var(--text-primary);font-weight:700}.category-badge{background:var(--accent-light);color:var(--accent);border-radius:20px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-block}.price{color:var(--text-primary);font-weight:700}.view-btn{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);cursor:pointer;padding:6px 14px;font-size:13px;font-weight:600;transition:all .2s}.view-btn:hover{background:var(--accent-light);border-color:var(--accent);color:var(--accent)}.pagination{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow);box-sizing:border-box;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.page-btn{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);cursor:pointer;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s}.page-btn:hover:not(:disabled){background:var(--accent-light);border-color:var(--accent);color:var(--accent)}.page-btn:disabled{opacity:.5;cursor:not-allowed}.page-info{color:var(--text-secondary);font-size:13px;font-weight:600}.detail-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:16px;display:grid}.detail-item{background:var(--bg-secondary);border-radius:var(--radius);border:1px solid var(--border);padding:12px}.detail-label{color:var(--text-secondary);text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:700}.detail-val{color:var(--text-primary);font-size:13px;font-weight:600}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background-color:#000000bf;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{background-color:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:90%;max-width:600px;max-height:90vh;box-shadow:var(--shadow-lg);box-sizing:border-box;padding:32px;position:relative;overflow-y:auto}.modal-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;font-size:28px;line-height:1;position:absolute;top:16px;right:16px}.modal-close:hover{color:var(--text-primary)}.modal-title{color:var(--text-primary);margin:0 0 20px;font-size:22px;font-weight:800}.modal-body{flex-direction:column;gap:16px;display:flex}.modal-detail{flex-direction:column;gap:4px;display:flex}.modal-label{color:var(--text-secondary);text-transform:uppercase;font-size:11px;font-weight:700}.modal-price{color:var(--text-primary);font-size:16px;font-weight:800}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{background:linear-gradient(90deg, var(--border) 25%, var(--bg-secondary) 50%, var(--border) 75%);border-radius:var(--radius-sm);background-size:200% 100%;animation:1.5s linear infinite shimmer;display:inline-block}.skeleton-text{border-radius:4px;width:100%;height:14px}.skeleton-title{border-radius:6px;width:240px;height:28px;margin-bottom:8px}.skeleton-subtitle{border-radius:4px;width:120px;height:16px}.skeleton-btn{border-radius:var(--radius);width:100px;height:38px}.skeleton-search{border-radius:var(--radius);width:100%;height:48px}.skeleton-badge{border-radius:20px;width:80px;height:22px}.skeleton-action{border-radius:4px;width:60px;height:28px}.skeleton-page{pointer-events:none}.profile-wrapper{box-sizing:border-box;background-color:var(--bg-secondary);width:100%;max-width:100%;margin:0 auto;padding:24px 32px}.profile-header-bar{border-bottom:1.5px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:16px;display:flex}.profile-title-section{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.profile-name{color:var(--text-primary);margin:0;font-size:26px;font-weight:800}.profile-specialization{color:var(--accent);background:var(--accent-light);border-radius:20px;padding:4px 12px;font-size:13px;font-weight:700}.profile-two-column{grid-template-columns:1fr 1fr;align-items:start;gap:24px;width:100%;display:grid}.profile-left-column,.profile-right-column{flex-direction:column;gap:24px;display:flex}.profile-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:24px}.profile-card-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;display:flex}.profile-card-header h2{color:var(--text-primary);margin:0;font-size:18px;font-weight:800}.profile-edit-btn{background:var(--accent-light);border-radius:var(--radius-sm);color:var(--accent);cursor:pointer;border:none;padding:6px 12px;font-size:13px;font-weight:700;transition:all .2s}.profile-edit-btn:hover{opacity:.9}.profile-card-body{flex-direction:column;gap:14px;display:flex}.profile-field{flex-direction:column;gap:4px;display:flex}.profile-field-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:700}.profile-field-value{color:var(--text-primary);font-size:14px;font-weight:600}.profile-input,.profile-textarea{border:1.5px solid var(--border);border-radius:var(--radius);background-color:var(--bg);width:100%;color:var(--text-primary);box-sizing:border-box;outline:none;padding:10px 14px;font-size:14px;transition:border-color .2s}.profile-input:focus,.profile-textarea:focus{border-color:var(--accent)}.profile-textarea{resize:vertical;min-height:100px}.profile-btn-row{gap:12px;margin-top:12px;display:flex}.profile-btn-save{background:var(--accent);color:var(--bg);border-radius:var(--radius-sm);cursor:pointer;border:none;padding:8px 16px;font-weight:700}.profile-btn-cancel{border:1px solid var(--border);color:var(--text-primary);border-radius:var(--radius-sm);cursor:pointer;background:0 0;padding:8px 16px;font-weight:700}.message-alert{border-radius:var(--radius);margin-bottom:16px;padding:12px;font-size:14px;font-weight:600}.message-alert.success{color:#16a34a;background-color:#22c55e1a;border:1px solid #22c55e33}.message-alert.error{color:#dc2626;background-color:#ef44441a;border:1px solid #ef444433}@media (width<=768px){.profile-two-column{grid-template-columns:1fr}}.profile-not-logged-in{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);text-align:center;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:420px;padding:48px 32px;animation:.4s cubic-bezier(.16,1,.3,1) fadeIn;display:flex}.lock-icon-wrapper{background:var(--accent-light);border:1.5px solid var(--border);border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin-bottom:8px;display:flex}.profile-not-logged-in h2{color:var(--text-primary);letter-spacing:-.5px;margin:0;font-size:24px;font-weight:800}.profile-not-logged-in p{color:var(--text-secondary);margin:0 0 8px;font-size:14px;line-height:1.5}.profile-login-btn{background:var(--accent);width:100%;color:var(--bg);border-radius:var(--radius);cursor:pointer;box-shadow:var(--shadow-sm);border:none;justify-content:center;align-items:center;padding:12px 24px;font-size:15px;font-weight:700;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex}.profile-login-btn:hover{background:var(--text-primary);color:var(--bg);box-shadow:var(--shadow-lg);transform:translateY(-2px)}.profile-login-btn:active{transform:translateY(0)}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif}.layout{min-height:100vh;display:flex}.sidebar{color:#fff;background:#1e3a8a;width:250px;padding:20px}.sidebar nav ul{margin:0;padding:0;list-style:none}.sidebar nav ul li{margin-bottom:10px}.sidebar nav ul li a{color:#fff;border-radius:8px;padding:10px;text-decoration:none;transition:background .3s;display:block}.sidebar nav ul li a:hover,.sidebar nav ul li a.active{background:#3b82f6}.main-content{flex-direction:column;flex:1;display:flex}.navbar{background:#fff;justify-content:space-between;align-items:center;padding:15px 30px;display:flex;box-shadow:0 2px 10px #0000001a}.navbar-brand h2{color:#1e3a8a;margin:0}.navbar-user{align-items:center;gap:15px;display:flex}.logout-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;padding:8px 16px}.content{background:#f5f5f5;flex:1;padding:30px}.dashboard-container,.appointments-container,.medicine-container,.profile-container{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 10px #0000000d}.landing-container{color:#fff;text-align:center;background:linear-gradient(135deg,#1e3a8a 0%,#3b82f6 100%);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.landing-container h1{margin-bottom:20px;font-size:48px}.landing-container button{color:#3b82f6;cursor:pointer;background:#fff;border:none;border-radius:8px;margin-top:30px;padding:12px 30px;font-size:18px;transition:transform .3s}.landing-container button:hover{transform:translateY(-2px)}
