/* ========================================
   CUPCAKE CONNECT — NOTIFICATIONS
======================================== */

.notifications-page {
    min-height: 100vh;
    padding: 110px 24px 60px;
    color: white;
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(147, 51, 234, 0.22),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 35%,
            rgba(236, 72, 153, 0.20),
            transparent 38%
        );
}

/* Header */

.notifications-header {
    max-width: 850px;
    margin: 0 auto 30px;
    padding: 28px 30px;

    text-align: center;

    background: rgba(20, 16, 38, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28),
        0 0 30px rgba(168, 85, 247, 0.12);

    backdrop-filter: blur(16px);
}

.notifications-header h1 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 800;
}

.notifications-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
}

/* Notification list */

#notificationsList {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual notifications */

#notificationsList > * {
    padding: 18px 22px;

    background:
        linear-gradient(
            135deg,
            rgba(35, 27, 58, 0.92),
            rgba(22, 19, 39, 0.92)
        );

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;

    color: white;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#notificationsList > *:hover {
    transform: translateY(-2px);
    border-color: rgba(236, 72, 153, 0.45);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.28),
        0 0 20px rgba(168, 85, 247, 0.12);
}

/* Links inside notifications */

#notificationsList a {
    color: #f5d7ff;
    text-decoration: none;
    font-weight: 700;
}

#notificationsList a:hover {
    color: white;
}

/* =========================================
   WW ANDROID NOTIFICATIONS MOBILE FIX
========================================= */

@media (max-width: 600px) {

    /* Main notifications page */

    .notifications-page {
        width: 100%;
        max-width: 100%;
        min-height: auto;

        margin: 0;
        padding: 20px 16px 85px !important;

        box-sizing: border-box;
    }

    /* Notifications heading */

    .notifications-header {
        width: 100%;
        max-width: 100%;

        margin: 0 auto 20px;
        padding: 22px 16px;

        border-radius: 22px;

        background: rgba(32, 17, 48, 0.90);
        border: 1px solid rgba(255, 105, 180, 0.35);

        box-sizing: border-box;
    }

    .notifications-header h1 {
        font-size: 28px;
        line-height: 1.3;
        color: white;
    }

    .notifications-header p {
        font-size: 15px;
        line-height: 1.5;
        color: #e5d5eb;
    }

    /* Notification list */

    #notificationsList {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        gap: 14px;
        margin: 0;
        padding: 0;
    }

    /* Individual notification cards */

    #notificationsList > * {
        width: 100%;
        max-width: 100%;

        padding: 18px 16px;
        margin: 0;

        background: linear-gradient(
            145deg,
            #30213f,
            #20152f
        );

        border: 1px solid rgba(255, 105, 180, 0.40);
        border-radius: 20px;

        color: white;
        font-size: 16px;
        line-height: 1.5;

        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    /* Readable notification links */

    #notificationsList a {
        color: #ffaad9;
        font-weight: 700;
        overflow-wrap: break-word;
    }

    /* Prevent cards jumping when tapped */

    #notificationsList > *:hover {
        transform: none;
    }

}