
/* =========================================================
   YAQEEN — Notifications
   ========================================================= */

.notifications-page {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 22px 16px 110px;
}

.notifications-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.notifications-back {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(32, 184, 212, .14);
    border-radius: 13px;

    background: #fff;
    color: #176B9C;

    text-decoration: none;
    font-size: 20px;

    transition: .2s ease;
}

.notifications-back:hover {
    background: #F3FBFD;
    transform: translateY(-1px);
}

.notifications-eyebrow {
    display: block;
    margin-bottom: 4px;

    color: #20A9C4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.notifications-page-header h1 {
    margin: 0;

    color: #0F3D56;
    font-size: 25px;
    font-weight: 900;
}

.notifications-page-header p {
    margin: 4px 0 0;

    color: #78909C;
    font-size: 12px;
}


.notifications-card {
    padding: 28px 22px 24px;

    border: 1px solid rgba(32, 184, 212, .12);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(243,251,253,.92)
        );

    box-shadow:
        0 14px 40px rgba(15,61,86,.07);

    text-align: center;
}

.notifications-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 18px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(32,184,212,.18);
    border-radius: 21px;

    background: #E8F7FB;
    color: #159AB7;
}

.notifications-icon svg {
    width: 30px;
    height: 30px;

    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notifications-copy h2 {
    margin: 0 0 8px;

    color: #0F3D56;
    font-size: 20px;
    font-weight: 900;
}

.notifications-copy p {
    max-width: 440px;
    margin: 0 auto;

    color: #718691;
    font-size: 12px;
    line-height: 1.9;
}


.notifications-status {
    margin: 22px auto 14px;

    width: fit-content;
    min-height: 34px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border-radius: 999px;

    background: #F4F7F8;
    color: #72838B;

    font-size: 11px;
    font-weight: 800;
}

.notifications-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #AAB7BC;
}

.notifications-status.is-enabled {
    background: #E8F7FB;
    color: #137E98;
}

.notifications-status.is-enabled
.notifications-status-dot {
    background: #20B8D4;
}


.notifications-toggle {
    width: 100%;
    min-height: 56px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 0 15px;

    border: 0;
    border-radius: 16px;

    background: #20B8D4;
    color: #fff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(32,184,212,.20);

    transition:
        transform .2s ease,
        opacity .2s ease,
        background .2s ease;
}

.notifications-toggle:hover {
    transform: translateY(-1px);
}

.notifications-toggle:active {
    transform: scale(.985);
}

.notifications-toggle:disabled {
    cursor: wait;
    opacity: .65;
}

.notifications-toggle-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border-radius: 11px;
    background: rgba(255,255,255,.14);
}

.notifications-toggle-icon svg {
    width: 19px;
    height: 19px;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notifications-toggle-label {
    flex: 1;
    text-align: right;
}

.notifications-toggle-arrow {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: rgba(255,255,255,.12);
}

.notifications-note {
    margin: 14px 0 0;

    color: #98A7AD;
    font-size: 10px;
}

@media (max-width: 380px) {

    .notifications-page {
        padding-left: 13px;
        padding-right: 13px;
    }

    .notifications-card {
        padding-left: 17px;
        padding-right: 17px;
    }

}
