:root { --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); --glass-bg: rgba(255, 255, 255, 0.25); --glass-border: rgba(255, 255, 255, 0.4); --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); --text-color: #333; --text-light: #fff; --input-bg: rgba(255, 255, 255, 0.6); --danger: #ff4757; --success: #2ecc71; --warning: #ffa502; --info: #3498db; --overdue: #800000; }
body.dark-mode { --bg-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); --glass-bg: rgba(0, 0, 0, 0.5); --glass-border: rgba(255, 255, 255, 0.1); --text-color: #e0e0e0; --input-bg: rgba(0, 0, 0, 0.5); }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background: var(--bg-gradient); min-height: 100vh; color: var(--text-color); position: relative; overflow-x: hidden; padding-bottom: 50px; scroll-behavior: smooth; }
.blob { position: fixed; filter: blur(40px); z-index: 0; opacity: 0.8; animation: float 10s infinite ease-in-out alternate; }
.blob-1 { top: 5%; left: 5%; width: 350px; height: 350px; background: #ff9a9e; border-radius: 40% 60% 70% 30%; animation-delay: 0s; }
.blob-2 { bottom: 10%; right: 5%; width: 300px; height: 300px; background: #a18cd1; border-radius: 60% 40% 30% 70%; animation-delay: -2s; }
.blob-3 { top: 30%; left: 40%; width: 250px; height: 250px; background: #84fab0; border-radius: 30% 70% 70% 30%; animation-delay: -4s; }
@keyframes float { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(40px, 60px) rotate(15deg); } }
.glass-nav { background: var(--glass-bg); backdrop-filter: blur(15px); padding: 0.8rem 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--glass-border); transition: transform 0.3s ease-in-out; }
.glass-nav.nav-hidden { transform: translateY(-100%); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; position: relative; z-index: 10; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.4rem; font-weight: bold; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 15px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 0.95rem; text-shadow: 0 1px 3px rgba(0,0,0,0.5); white-space: nowrap;}
@media (max-width: 768px) { .nav-content { flex-direction: column; gap: 10px; align-items: flex-start; } .nav-links { width: 100%; overflow-x: auto; padding-bottom: 5px; -webkit-overflow-scrolling: touch; justify-content: flex-start; } .nav-links::-webkit-scrollbar { height: 0px; } .glass-card { padding: 1.2rem; margin: 10px 0; } .kanban-col { min-width: 280px; } }
.glass-card { background: var(--glass-bg); box-shadow: var(--glass-shadow); backdrop-filter: blur(16px); border-radius: 20px; border: 1px solid var(--glass-border); padding: 2rem; margin: 1rem 0; transition: transform 0.3s ease; }
.glass-card:hover { transform: translateY(-3px); }
.auth-container { max-width: 400px; margin: 8vh auto; }
input, select, textarea, button { width: 100%; padding: 10px 12px; margin-bottom: 12px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--input-bg); color: var(--text-color); outline: none; transition: 0.3s; }
input:focus { background: rgba(255,255,255,0.9); box-shadow: 0 0 10px rgba(255,255,255,0.3); }
button { background: rgba(255,255,255,0.35); cursor: pointer; font-weight: bold; color: var(--text-color); border: 1px solid rgba(255,255,255,0.2); }
button:hover { background: rgba(255,255,255,0.6); }
.btn-sm { padding: 5px 10px; font-size: 0.8rem; margin: 2px; display: inline-block; text-decoration: none; border: 1px solid var(--glass-border); border-radius: 6px; cursor: pointer; color: var(--text-color); background: rgba(255,255,255,0.2); }
.kanban-board { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 20px; align-items: flex-start; }
.kanban-col { flex: 1; min-width: 300px; background: rgba(255,255,255,0.05); border-radius: 15px; padding: 10px; border: 1px solid var(--glass-border); }
.kanban-header { font-weight: bold; margin-bottom: 15px; color: #fff; text-align: center; padding: 8px; border-radius: 8px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
.bg-todo { background: var(--warning); box-shadow: 0 4px 15px rgba(255, 165, 2, 0.3); }
.bg-progress { background: var(--info); box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); }
.bg-expiring { background: var(--danger); box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3); animation: pulse 2s infinite; }
.bg-done { background: var(--success); box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.85; } 100% { opacity: 1; } }
/* Overdue Card */
.task-card { background: rgba(255,255,255,0.2); padding: 12px; border-radius: 12px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.task-card.overdue { border: 2px solid var(--danger); background: rgba(255, 71, 87, 0.1); }
.task-meta { font-size: 0.7rem; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; color: var(--text-color); opacity: 0.9; }
.countdown { font-weight: bold; padding: 2px 5px; border-radius: 4px; background: rgba(0,0,0,0.1); }
.countdown.danger { color: #ff0000; font-weight: 800; }
.search-box { display: flex; gap: 10px; margin-bottom: 20px; }
.search-box input { margin-bottom: 0; }
.user-avatar-small { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 5px; border: 2px solid rgba(255,255,255,0.6); }
.chart-container { position: relative; height: 320px; width: 100%; margin: 0 auto; }
#backToTop { display: none; position: fixed; bottom: 30px; right: 30px; z-index: 999; width: 45px; height: 45px; border: none; outline: none; background-color: rgba(50, 50, 50, 0.6); color: white; cursor: pointer; border-radius: 8px; backdrop-filter: blur(5px); transition: all 0.3s; font-size: 20px; display: flex; align-items: center; justify-content: center; }
#backToTop:hover { background-color: rgba(0,0,0,0.8); transform: translateY(-3px); }