.admin-page{flex-direction:column;width:100vw;height:100vh;min-height:100vh;display:flex;overflow:hidden}.admin-content{background:#f8fafc;flex:1;padding:2rem 0;overflow-y:auto}.dashboard-container{max-width:1200px;margin:0 auto;padding:0 20px}.dashboard-header{text-align:center;margin-bottom:3rem}.dashboard-header h1{color:#1a202c;margin-bottom:.5rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:2.5rem;font-weight:700}.dashboard-header p{color:#6b7280;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:1.1rem}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-bottom:3rem;display:grid}.dashboard-card{background:#fff;border-radius:12px;padding:2rem;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px #0000000d}.dashboard-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px #0000001a}.dashboard-card h3{color:#1a202c;margin-bottom:.75rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:1.25rem;font-weight:600}.dashboard-card p{color:#6b7280;margin-bottom:1.5rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;line-height:1.6}.dashboard-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:8px;padding:.75rem 1.5rem;font-weight:600;transition:transform .2s,box-shadow .2s}.dashboard-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.dashboard-stats{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000000d}.dashboard-stats h2{color:#1a202c;text-align:center;margin-bottom:1.5rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:1.5rem;font-weight:600}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;display:grid}.stat-card{text-align:center;background:#f8fafc;border-radius:8px;padding:1.5rem}.stat-number{color:#667eea;margin-bottom:.5rem;font-size:2.5rem;font-weight:800}.stat-label{color:#6b7280;text-transform:uppercase;letter-spacing:.05em;font-size:.875rem;font-weight:600}.todays-quest-section,.tomorrow-quest-section,.quest-queue-section,.completed-quests-section{background:#fff;border-radius:12px;margin-bottom:2rem;padding:2rem;box-shadow:0 4px 6px #0000000d}.todays-quest-header,.tomorrow-quest-header{justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;display:flex}.todays-quest-header h2,.tomorrow-quest-header h2{color:#1a202c;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:1.5rem;font-weight:600}.quest-schedule-info,.quest-status-info{text-align:right;color:#6b7280;font-size:.875rem;line-height:1.4}.schedule-line-1,.status-line-1{margin-bottom:.25rem;font-weight:600}.schedule-line-2,.status-line-2{opacity:.8}.countdown-timer{flex-direction:column;align-items:flex-end;gap:.25rem;display:flex}.countdown-label{color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem}.countdown-time{color:#667eea;text-align:center;background:linear-gradient(135deg,#f0f4ff 0%,#e0e7ff 100%);border:1px solid #c7d2fe;border-radius:8px;min-width:120px;padding:.5rem .75rem;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;font-size:1.25rem;font-weight:700}.quest-queue-section h2,.completed-quests-section h2{color:#1a202c;margin-bottom:1.5rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:1.5rem;font-weight:600}.todays-quest-card{color:#fff;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:2px solid #10b9814d;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #10b98133}.tomorrow-quest-card{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #667eea33}.quest-content{text-align:center}.quest-title{color:#fff;margin-bottom:.75rem;font-size:1.5rem;font-weight:700;line-height:1.3}.quest-description{opacity:.95;max-width:500px;margin-bottom:1.25rem;margin-left:auto;margin-right:auto;font-size:1rem;line-height:1.5}.quest-meta{flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;display:flex}.quest-loading{text-align:center;opacity:.8;padding:1rem}.no-quest-set{text-align:center;color:#6b7280;padding:2rem;font-style:italic}.section-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.header-actions{align-items:center;gap:1rem;display:flex}.add-quest-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:none;border-radius:8px;padding:.75rem 1.5rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #10b98133}.add-quest-btn:hover{background:linear-gradient(135deg,#059669 0%,#047857 100%);transform:translateY(-1px);box-shadow:0 4px 8px #10b9814d}.populate-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);border:none;border-radius:8px;padding:.75rem 1.5rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #6366f133}.populate-btn:hover:not(:disabled){background:linear-gradient(135deg,#4f46e5 0%,#4338ca 100%);transform:translateY(-1px);box-shadow:0 4px 8px #6366f14d}.populate-btn:disabled{cursor:not-allowed;background:linear-gradient(135deg,#9ca3af 0%,#6b7280 100%);transform:none;box-shadow:0 1px 2px #0000001a}.activate-quest-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);border:none;border-radius:8px;margin-top:1rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #f59e0b33}.activate-quest-btn:hover:not(:disabled){background:linear-gradient(135deg,#d97706 0%,#b45309 100%);transform:translateY(-1px);box-shadow:0 4px 8px #f59e0b4d}.activate-quest-btn:disabled{cursor:not-allowed;background:linear-gradient(135deg,#9ca3af 0%,#6b7280 100%);transform:none;box-shadow:0 1px 2px #0000001a}.search-filter-bar{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;gap:1rem;margin-bottom:1.5rem;padding:1rem;display:flex}.search-input{flex:1}.search-input input{border:1px solid #d1d5db;border-radius:6px;width:100%;padding:.75rem;font-size:.875rem;transition:border-color .2s}.search-input input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 3px #667eea1a}.filter-select{min-width:150px}.filter-select select{background:#fff;border:1px solid #d1d5db;border-radius:6px;width:100%;padding:.75rem;font-size:.875rem;transition:border-color .2s}.filter-select select:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 3px #667eea1a}.add-quest-form{background:#f8fafc;border:2px solid #e5e7eb;border-radius:8px;margin-bottom:1.5rem;padding:1.5rem}.add-quest-form h3{color:#1a202c;margin-bottom:1rem;font-size:1.25rem}.form-group{margin-bottom:1rem}.form-group label{color:#374151;margin-bottom:.5rem;font-weight:600;display:block}.form-group input,.form-group textarea,.form-group select{border:1px solid #d1d5db;border-radius:6px;width:100%;padding:.75rem;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 3px #667eea1a}.form-actions{justify-content:flex-end;gap:1rem;margin-top:1rem;display:flex}.save-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:none;border-radius:6px;padding:.75rem 1.5rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #10b98133}.save-btn:hover{background:linear-gradient(135deg,#059669 0%,#047857 100%);transform:translateY(-1px);box-shadow:0 4px 8px #10b9814d}.cancel-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6b7280 0%,#4b5563 100%);border:none;border-radius:6px;padding:.75rem 1.5rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #6b728033}.cancel-btn:hover{background:linear-gradient(135deg,#4b5563 0%,#374151 100%);transform:translateY(-1px);box-shadow:0 4px 8px #6b72804d}.quest-list{gap:.5rem;max-height:600px;padding-right:.5rem;display:grid;overflow-y:auto}.quest-list::-webkit-scrollbar{width:6px}.quest-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.quest-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.quest-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.quest-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;padding:1rem 1.25rem;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000d}.quest-item:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 2px 6px #00000014}.quest-content{flex:1;align-items:center;gap:1rem;display:flex}.quest-content h4{color:#111827;min-width:200px;margin:0;font-size:1rem;font-weight:700;line-height:1.3}.quest-content p{color:#374151;text-overflow:ellipsis;white-space:nowrap;flex:1;max-width:300px;margin:0;font-size:.9rem;font-weight:500;line-height:1.5;overflow:hidden}.quest-meta{align-items:center;gap:.5rem;margin-left:1rem;display:flex}.difficulty{text-transform:uppercase;letter-spacing:.025em;border-radius:12px;padding:.25rem .75rem;font-size:.75rem;font-weight:700}.difficulty.easy{color:#fff;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:1px solid #047857}.difficulty.medium{color:#fff;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);border:1px solid #b45309}.difficulty.hard{color:#fff;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:1px solid #b91c1c}.category{color:#fff;letter-spacing:.025em;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);border:1px solid #4338ca;border-radius:12px;padding:.25rem .75rem;font-size:.75rem;font-weight:700}.quest-actions{gap:.5rem;margin-left:1rem;display:flex}.set-tomorrow-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:6px;padding:.375rem .75rem;font-size:.75rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #667eea33}.set-tomorrow-btn:hover{background:linear-gradient(135deg,#5a67d8 0%,#6b46c1 100%);transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.remove-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#94a3b8 0%,#64748b 100%);border:none;border-radius:6px;padding:.375rem .75rem;font-size:.75rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.remove-btn:hover{background:linear-gradient(135deg,#64748b 0%,#475569 100%);transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.empty-queue{text-align:center;color:#6b7280;padding:3rem;font-style:italic}.completed-quests-list{gap:.375rem;max-height:300px;padding-right:.5rem;display:grid;overflow-y:auto}.completed-quests-list::-webkit-scrollbar{width:6px}.completed-quests-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.completed-quests-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.completed-quests-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.completed-quest-item{background:#f3f4f6;border-left:3px solid #10b981;border-radius:4px;justify-content:space-between;align-items:center;padding:.5rem .75rem;display:flex}.completion-date{color:#1a202c;font-size:.875rem;font-weight:600}.quest-id{color:#6b7280;font-family:monospace;font-size:.75rem}.no-completed{text-align:center;color:#6b7280;padding:2rem;font-style:italic}@media (width<=768px){.dashboard-container{padding:0 1rem}.dashboard-header h1{font-size:2rem}.dashboard-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.section-header{flex-direction:column;align-items:stretch;gap:1rem}.header-actions{flex-wrap:wrap;justify-content:center}.quest-item{flex-direction:column;gap:.75rem;padding:.75rem}.quest-content{flex-direction:column;align-items:flex-start;gap:.5rem}.quest-content h4{min-width:auto;font-size:.875rem}.quest-content p{white-space:normal;max-width:none;font-size:.8rem}.quest-meta{margin-left:0}.quest-actions{flex-direction:row;justify-content:flex-end;width:100%;margin-left:0}.form-actions{flex-direction:column}.quest-meta{flex-wrap:wrap}.search-filter-bar{flex-direction:column;gap:.75rem}.filter-select{min-width:auto}.todays-quest-header,.tomorrow-quest-header{flex-direction:column;align-items:stretch;gap:1rem}.quest-schedule-info,.quest-status-info{text-align:left}.countdown-timer{align-items:flex-start}.countdown-time{min-width:100px;font-size:1rem}}