body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #dfe3e8, #bfc5cc);
    margin: 0;
    color: #1e293b;
    min-height: 100vh;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    padding: 30px 0;
}

/* HEADER */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.topbar h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
}

.subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 5px;
}

/* BUTTON */
.btn {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(107, 114, 128, 0.25);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(107, 114, 128, 0.35);
}

/* PROGRESS CARD */
.progress-card {
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(14px);
    padding: 25px;
    border-radius: 24px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-info h2 {
    margin: 0;
    font-size: 38px;
    color: #111827;
}

.progress-info p {
    color: #6b7280;
}

/* PROGRESS BAR */
.progress-bar-wrap {
    background: rgba(0,0,0,0.08);
    height: 12px;
    border-radius: 30px;
    margin-top: 18px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #9ca3af, #6b7280);
    border-radius: 30px;
    transition: 0.6s ease;
}

/* STATS */
.stats {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.stat {
    flex: 1;
    padding: 22px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    margin: 0;
    font-size: 32px;
    color: #111827;
}

.stat p {
    margin-top: 8px;
    color: #4b5563;
}

/* CARD COLORS */
.total {
    background: linear-gradient(135deg, #f3f4f6, #d1d5db);
}

.done {
    background: linear-gradient(135deg, #e5e7eb, #9ca3af);
}

.pending {
    background: linear-gradient(135deg, #d1d5db, #6b7280);
    color: white;
}

.pending h3,
.pending p {
    color: white;
}

/* SEARCH */
.search-box {
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 16px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.6);
    color: #111827;
    font-size: 15px;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.search-box input::placeholder {
    color: #6b7280;
}

/* TASK LIST */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* TASK ITEM */
.task-item {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.task-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* TASK CONTENT */
.task-content h4 {
    margin: 0;
    color: #111827;
    font-size: 18px;
}

.task-content p {
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* RIGHT SIDE */
.task-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* BADGE */
.badge {
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.done {
    background: rgba(107, 114, 128, 0.15);
    border: 1px solid #6b7280;
    color: #374151;
}

.badge.pending {
    background: rgba(156, 163, 175, 0.2);
    border: 1px solid #9ca3af;
    color: #4b5563;
}

/* ACTION BUTTONS */
.actions {
    display: flex;
    gap: 10px;
}

.actions a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(255,255,255,0.6);
    transition: 0.3s ease;
    font-size: 16px;
    color: #374151;
}

.actions a:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.08);
}

/* RESPONSIVE */
@media(max-width: 768px){

    .stats {
        flex-direction: column;
    }

    .task-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .task-right {
        width: 100%;
        justify-content: space-between;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}