body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0b0c10;
    color: #fff;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: linear-gradient(180deg, #1f2833, #0b0c10);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar h1 {
    color: #66fcf1;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.nav-links {
    width: 100%;
}

.nav-links a {
    display: block;
    text-decoration: none;
    color: #c5c6c7;
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover {
    background: #45a29e;
    color: #0b0c10;
}

/* Main content */
main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f2833;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
}

header h2 {
    color: #66fcf1;
    margin: 0;
    font-size: 1.4rem;
}

header button {
    background: #66fcf1;
    color: #0b0c10;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s ease;
}

header button:hover {
    background: #45a29e;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: #66fcf1;
    height: 60vh;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.card {
    background: linear-gradient(145deg, #1f2833, #16232f);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-left: 6px solid #45a29e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-select {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #1f2833;
    color: #fff;
    border: 1px solid #66fcf1;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

.status-select:focus {
    outline: none;
    border-color: #00ff99;
}

.status-done {
    background: #00ff99;
    color: #0b0c10;
}

.status-pending {
    background: #ffcc00;
    color: #0b0c10;
}

.card h3 {
    color: #66fcf1;
    margin-bottom: 10px;
}

.card p {
    color: #c5c6c7;
    margin: 5px 0;
    font-size: 0.95rem;
}

.card small {
    color: #8ab4f8;
    display: block;
    margin-top: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-box {
    background: #1f2833;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.stat-box h3 {
    color: #66fcf1;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 1.5rem;
    color: #fff;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    main {
        padding: 20px;
    }
}