/* Modern Gradient Palette & Design */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #00c6ff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header { 
    margin-top: 40px; 
    text-align: center; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.container {
    width: 90%;
    max-width: 900px;
    padding: 20px;
}

.glass-3d {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin-bottom: 30px;
}

.progress-bar-bg {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #00c6ff;
    box-shadow: 0 0 10px #00c6ff;
    transition: width 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

form { display: flex; flex-direction: column; }
.form-row { display: flex; gap: 15px; }
.form-row div { flex: 1; }

label { font-size: 13px; font-weight: bold; margin-bottom: 5px; display: block; margin-top: 10px; color: #00c6ff; }

input, select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #203a43;
    box-sizing: border-box;
    font-size: 14px;
}

button {
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #00c6ff;
    color: #0f2027;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.lists-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
ul { list-style: none; padding: 0; }

li {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.task-info strong { display: block; font-size: 1.1em; }
.task-info small { opacity: 0.7; font-size: 0.85em; }

.actions { display: flex; gap: 5px; }
.actions button {
    margin: 0;
    padding: 6px 10px;
    font-size: 11px;
}

.btn-complete { background: #00c6ff; color: #0f2027; }
.btn-delete { background: #ff4b2b; color: white; }
.btn-edit { background: #f9d423; color: #0f2027; }

.high { border-left: 5px solid #ff4b2b; }
.medium { border-left: 5px solid #f9d423; }
.low { border-left: 5px solid #00c6ff; }

@media (max-width: 768px) {
    .lists-wrapper { grid-template-columns: 1fr; }
}