* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

/* ================= NAVBAR ================= */

.navbar {
    height: 70px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    border-bottom: 1px solid #e5e7eb;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.back-btn {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
}


/* ================= CONTAINER ================= */

.container {
    width: 90%;
    max-width: 900px;
    margin: auto;
}


/* ================= HERO ================= */

.hero {
    padding: 45px 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.hero p {
    color: #6b7280;
}


/* ================= MARK ALL ================= */

.mark-all-btn {
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    padding: 10px 15px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 600;
}

.mark-all-btn:hover {
    background: #f9fafb;
}


/* ================= SECTION ================= */

.notifications-section {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.06);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 20px;
}

.section-header span {
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    font-weight: 700;
}


/* ================= NOTIFICATION ================= */

.notification-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.notification-card:last-child {
    margin-bottom: 0;
}

.notification-card:hover {
    background: #f9fafb;
}

.notification-card.unread {
    background: #f8fafc;
    border-left: 4px solid #111827;
}


/* ================= ICON ================= */

.notification-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    font-size: 20px;
}


/* ================= CONTENT ================= */

.notification-content {
    flex: 1;
}

.notification-message {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.notification-time {
    color: #6b7280;
    font-size: 12px;
    margin-top: 5px;
}


/* ================= UNREAD DOT ================= */

.unread-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 50%;
    background: #111827;
    margin-top: 7px;
}


/* ================= EMPTY / LOADING ================= */

.empty-state,
.loading {
    text-align: center;
    padding: 45px 15px;
    color: #6b7280;
}

.empty-icon {
    font-size: 42px;
    margin-bottom: 10px;
}

.empty-state h3 {
    color: #374151;
    margin-bottom: 6px;
}


/* ================= MOBILE ================= */

@media (max-width: 650px) {

    .navbar {
        padding: 0 5%;
    }

    .logo {
        font-size: 18px;
    }

    .container {
        width: 94%;
    }

    .hero {
        padding-top: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 28px;
    }

    .mark-all-btn {
        width: 100%;
    }

    .notifications-section {
        padding: 18px;
    }

}
/* ===== NOTIFICATIONS HERO ===== */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 45px 10px 30px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #111827;

    margin-bottom: 10px;
}

.hero p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}


/* MARK ALL BUTTON */

.mark-all-btn {
    border: none;

    padding: 12px 18px;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #4f46e5,
        #2563eb
    );

    color: white;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;

    white-space: nowrap;
}

.mark-all-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.20);
}


/* MOBILE */

@media (max-width: 600px) {

    .hero {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 5px 25px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .mark-all-btn {
        width: 100%;
    }

}