/* =========================================
   Two-Card Notification Section
========================================= */

.notification-section {
    padding: 35px 0;
    margin: 0;
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(13, 148, 136, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 90%,
            rgba(25, 77, 126, 0.08),
            transparent 30%
        ),
        #f4f8fa;
}

/* Section Heading */

.notification-section-heading {
    max-width: 750px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-small-title {
    display: inline-block;
    margin-bottom: 7px;
    color: #0c8276;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.notification-section-heading h2 {
    margin-bottom: 8px;
    color: #113e45;
    font-size: 30px;
    font-weight: 800;
}

.notification-section-heading h2 i {
    margin-right: 8px;
    color: #e5a900;
}

.notification-section-heading p {
    margin: 0;
    color: #6d7f82;
    font-size: 14px;
    line-height: 1.7;
}

/* Main Cards */

.notification-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(18, 79, 85, 0.10);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(16, 64, 72, 0.11);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notification-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(16, 64, 72, 0.15);
}

/* Card Header */

.notification-card-header {
    min-height: 112px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}

.admission-card .notification-card-header {
    background:
        linear-gradient(
            135deg,
            #064e46 0%,
            #087b70 55%,
            #0d9488 100%
        );
}

.examination-card .notification-card-header {
    background:
        linear-gradient(
            135deg,
            #173c68 0%,
            #1c5e91 55%,
            #168a91 100%
        );
}

.notification-header-icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #103f43;
    background: #ffd56a;
    border-radius: 15px;
    font-size: 24px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.notification-card-header > div:nth-child(2) {
    flex: 1;
}

.notification-card-header span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.notification-card-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
}

.notification-view-all {
    flex-shrink: 0;
    padding: 9px 13px;
    color: #123e42;
    background: #ffd56a;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.notification-view-all i {
    margin-left: 4px;
}

.notification-view-all:hover {
    color: #ffffff;
    background: #d99e00;
    transform: translateX(3px);
}

/* Tabs */

.notification-tab-area {
    padding: 17px 17px 8px;
}

.notification-tabs {
    display: flex;
    gap: 6px;
    padding: 6px;
    background: #edf4f4;
    border-radius: 13px;
}

.notification-tabs .nav-item {
    flex: 1;
}

.notification-tabs .nav-link {
    width: 100%;
    min-height: 48px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #536d70;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.notification-tabs .nav-link i {
    font-size: 14px;
}

.notification-tabs .nav-link:hover {
    color: #087b70;
    background: rgba(255, 255, 255, 0.8);
}

.admission-card .notification-tabs .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #087b70, #0d9488);
    box-shadow: 0 7px 16px rgba(8, 123, 112, 0.24);
}

.examination-card .notification-tabs .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #1c5e91, #168a91);
    box-shadow: 0 7px 16px rgba(28, 94, 145, 0.24);
}

/* Tab Content */

.notification-tab-content {
    padding: 4px 17px 18px;
}

/* Notice Items */

.notification-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 8px;
    color: inherit;
    border-bottom: 1px dashed #d9e6e5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:hover {
    padding-left: 13px;
    padding-right: 12px;
    background: #f3faf9;
    border-radius: 12px;
}

.notification-date {
    width: 57px;
    min-width: 57px;
    height: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 7px 17px rgba(14, 83, 87, 0.16);
}

.admission-card .notification-date {
    background: linear-gradient(145deg, #08675e, #0d9488);
}

.examination-card .notification-date {
    background: linear-gradient(145deg, #174f7e, #168a91);
}

.notification-date strong {
    font-size: 21px;
    line-height: 22px;
}

.notification-date span {
    margin-top: 3px;
    color: #ffd56a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.notification-details {
    flex: 1;
    min-width: 0;
}

.notification-title-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.notification-details h5 {
    margin: 0 0 5px;
    color: #173e43;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.notification-details p {
    margin: 0;
    color: #708184;
    font-size: 12px;
    line-height: 1.55;
}

.notification-meta {
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.notification-meta span {
    color: #839497;
    font-size: 10px;
}

.notification-meta i {
    margin-right: 3px;
    color: #0c8276;
}

/* Badges */

.notification-badge {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.badge-new {
    color: #087443;
    background: #daf8e6;
}

.badge-info {
    color: #126f7e;
    background: #daf4f8;
}

.badge-document {
    color: #4659a2;
    background: #e7ebff;
}

.badge-important {
    color: #b42626;
    background: #ffe1e1;
}

.badge-revised {
    color: #9f6200;
    background: #fff0c7;
}

.badge-admit {
    color: #2557a1;
    background: #e2edff;
}

.notification-arrow {
    color: #9bb0b2;
    font-size: 12px;
    transition: all 0.3s ease;
}

.notification-item:hover .notification-arrow {
    color: #087b70;
    transform: translateX(4px);
}

/* Tablet */

@media (max-width: 991.98px) {
    .notification-card {
        height: auto;
    }
}

/* Mobile */

@media (max-width: 575.98px) {
    .notification-section {
        padding: 22px 0;
    }

    .notification-section-heading {
        margin-bottom: 20px;
    }

    .notification-section-heading h2 {
        font-size: 23px;
    }

    .notification-section-heading p {
        padding: 0 8px;
        font-size: 12px;
    }

    .notification-card-header {
        min-height: auto;
        padding: 17px 14px;
        gap: 10px;
    }

    .notification-header-icon {
        width: 45px;
        min-width: 45px;
        height: 45px;
        border-radius: 12px;
        font-size: 19px;
    }

    .notification-card-header h3 {
        font-size: 16px;
    }

    .notification-card-header span {
        font-size: 9px;
    }

    .notification-view-all {
        padding: 7px 9px;
        font-size: 9px;
    }

    .notification-view-all i {
        display: none;
    }

    .notification-tab-area {
        padding: 12px 10px 6px;
    }

    .notification-tabs {
        gap: 3px;
        padding: 4px;
    }

    .notification-tabs .nav-link {
        min-height: 42px;
        padding: 6px 2px;
        font-size: 9px;
    }

    .notification-tabs .nav-link i {
        font-size: 12px;
    }

    .notification-tab-content {
        padding: 3px 10px 12px;
    }

    .notification-item {
        align-items: flex-start;
        gap: 9px;
        padding: 12px 3px;
    }

    .notification-date {
        width: 49px;
        min-width: 49px;
        height: 55px;
    }

    .notification-date strong {
        font-size: 18px;
    }

    .notification-title-line {
        display: block;
    }

    .notification-badge {
        display: inline-block;
        margin-bottom: 4px;
    }

    .notification-details h5 {
        font-size: 12px;
    }

    .notification-details p {
        font-size: 10px;
    }

    .notification-meta {
        gap: 6px;
    }

    .notification-meta span {
        font-size: 9px;
    }

    .notification-arrow {
        display: none;
    }
}