.activity-auth-flash__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.activity-auth-flash__item + .activity-auth-flash__item {
    margin-top: 12px;
}

.activity-auth-flash__item--success {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}

.activity-auth-flash__item--success i {
    color: #059669;
}

.activity-auth-flash__item--warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.activity-auth-flash__item--warning i {
    color: #d97706;
}

.search-filter-wrapper {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(3, 23, 64, 0.08);
}
.activity-search-box {
    border: 1px solid #d9e2ec;
    padding: 4px;
    box-shadow: 0 8px 22px rgba(3, 23, 64, 0.08);
}
.activity-search-button {
    width: 44px;
    height: 44px;
    background: var(--p3-clr);
    color: #fff;
    border: none;
    flex: 0 0 auto;
}
.activity-search-button:hover,
.activity-search-button:focus {
    background: linear-gradient(93deg, #1bcfc9 10.65%, #002f87 89.35%);
    color: #fff;
}
.activity-filter-field {
    position: relative;
    min-height: 84px;
    padding: 12px 14px;
    border: 1px solid #d8e3ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(3, 23, 64, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.activity-filter-field::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #49577a;
    pointer-events: none;
}
.activity-filter-field:has(select:disabled)::after {
    border-top-color: #94a3b8;
}
.activity-filter-field label {
    display: block;
    margin-bottom: 8px;
    color: #49577a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.activity-filter-field.has-value {
    border-color: var(--p3-clr) !important;
    background: #f7fbff !important;
    box-shadow: 0 8px 22px rgba(0, 47, 135, 0.12) !important;
}
.activity-filter-field.has-value label {
    color: var(--p3-clr) !important;
}
.activity-filter-field:focus-within {
    border-color: var(--p3-clr);
    box-shadow: 0 0 0 3px rgba(0, 47, 135, 0.12);
}
.news-single-items {
    display: flex;
    flex-direction: column;
}
.news-single-items .news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-single-items .news-content h4 {
    flex-grow: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-summary-button {
    width: max-content;
    margin-top: 12px;
    padding: 7px 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #8fb3d9;
    border-radius: 7px;
    background: #eef6ff;
    color: var(--p3-clr);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 3px 9px rgba(0, 47, 135, 0.1);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.activity-summary-button:hover,
.activity-summary-button:focus-visible {
    border-color: var(--p3-clr);
    background: var(--p3-clr);
    color: #fff;
    box-shadow: 0 5px 13px rgba(0, 47, 135, 0.18);
}
.activity-summary-button:focus-visible {
    outline: 3px solid rgba(0, 47, 135, 0.14);
    outline-offset: 2px;
}

.activity-summary-modal .modal-dialog {
    max-width: 560px;
    padding: 16px;
}
.activity-summary-modal [hidden] {
    display: none !important;
}
.activity-summary-modal__panel {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(3, 23, 64, 0.22);
}
.activity-summary-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 20px rgba(3, 23, 64, 0.12);
    opacity: 1;
}
.activity-summary-modal__header {
    position: relative;
    padding: 28px 56px 22px 28px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(27, 207, 201, 0.16) 0%, transparent 46%),
        linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
    border-bottom: 1px solid #e8eef5;
}
.activity-summary-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--p3-clr);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}
.activity-summary-modal__unit {
    margin: 0 0 16px;
    color: #031740;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.28;
}
.activity-summary-modal__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.activity-summary-modal__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid #dbe7f1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #23405f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}
.activity-summary-modal__chip i {
    color: var(--p3-clr);
    font-size: 10px;
}
.activity-summary-modal__body {
    padding: 22px 28px 8px;
}
.activity-summary-modal__summary {
    max-height: 220px;
    padding: 16px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 14px;
    background: #f7fafc;
    border: 1px solid #e8eef5;
    scrollbar-width: thin;
    scrollbar-color: #b7c7d8 #eef3f8;
}
.activity-summary-modal__summary::-webkit-scrollbar {
    width: 8px;
}
.activity-summary-modal__summary::-webkit-scrollbar-track {
    background: #eef3f8;
    border-radius: 999px;
}
.activity-summary-modal__summary::-webkit-scrollbar-thumb {
    background: #b7c7d8;
    border-radius: 999px;
}
.activity-summary-modal__summary p {
    margin: 0;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    white-space: pre-line;
}
.activity-summary-modal__footer {
    padding: 18px 28px 24px;
    display: flex;
    justify-content: flex-end;
}
.activity-summary-modal__dismiss {
    min-width: 96px;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--p3-clr);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.22s ease, transform 0.22s ease;
}
.activity-summary-modal__dismiss:hover,
.activity-summary-modal__dismiss:focus-visible {
    background: var(--p1-clr);
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 575.98px) {
    .activity-summary-modal__header {
        padding: 24px 52px 18px 20px;
    }
    .activity-summary-modal__unit {
        font-size: 18px;
    }
    .activity-summary-modal__body,
    .activity-summary-modal__footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .activity-summary-modal__summary {
        max-height: 180px;
    }
}

/* Hover Zoom and Eye Overlay */
.news-single-items:hover .news-image::before {
    width: 0% !important;
}
.news-image::before {
    display: none !important;
}
.news-image img {
    transition: transform 0.4s ease;
}
.news-image:hover img {
    transform: scale(1.05) !important;
}
.news-image:hover .news-eye-overlay {
    opacity: 1 !important;
}
.news-image:hover .news-eye-overlay .icons {
    transform: scale(1) !important;
}
.activity-filter-field select.form-select {
    display: block !important;
    width: 100%;
    min-height: 30px;
    padding: 0 28px 0 0;
    border: 0;
    outline: 0;
    background: transparent !important;
    background-image: none !important;
    color: #1f2937;
    font-weight: 700;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.activity-filter-field select.form-select:disabled {
    color: #94a3b8;
    cursor: not-allowed;
}
.nice-select.form-select {
    display: none !important; /* Hide nice-select if theme auto-inits */
}
.news-wrapper.is-updating {
    cursor: progress;
}
.activity-results-empty {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}
.activity-card-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #ffffff;
}
.activity-card-date-bottom {
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-top: auto;
    padding-top: 8px;
}
.activity-like-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    color: #94a3b8;
    box-shadow: 0 8px 22px rgba(3, 23, 64, 0.14);
    cursor: pointer;
    pointer-events: auto;
    transition: color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}
.activity-like-btn:hover {
    color: #e11d48;
    transform: translateY(-1px);
}
.activity-like-btn:focus,
.activity-like-btn:focus-visible,
.activity-like-btn:active {
    outline: none;
    box-shadow: 0 8px 22px rgba(3, 23, 64, 0.14);
}
.activity-like-btn:focus:not(.is-liked),
.activity-like-btn:focus-visible:not(.is-liked) {
    color: #94a3b8;
}
.activity-like-btn.is-liked,
.activity-like-btn.is-liked:hover,
.activity-like-btn.is-liked:focus,
.activity-like-btn.is-liked:focus-visible {
    color: #e11d48;
}
.activity-like-btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}
.activity-like-btn.is-cooldown {
    pointer-events: none;
    opacity: 0.55;
}
.activity-top-downloads {
    border: 1px solid #dbe7f1;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(3, 23, 64, 0.06);
    overflow: hidden;
}
.activity-top-downloads__header {
    min-height: 46px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #e6eef6;
    background: #f8fbff;
}
.activity-top-downloads__header h2 {
    margin: 0;
    color: #031740;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}
.activity-top-downloads__header span {
    min-width: 48px;
    height: 26px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef8fb;
    color: var(--p3-clr);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.activity-top-downloads__table-wrap {
    overflow-x: auto;
}
.activity-top-downloads__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}
.activity-top-downloads__table th:nth-child(1),
.activity-top-downloads__table td:nth-child(1) {
    width: 42px;
}
.activity-top-downloads__table th:nth-child(2),
.activity-top-downloads__table td:nth-child(2) {
    width: 30%;
}
.activity-top-downloads__table th:nth-child(3),
.activity-top-downloads__table td:nth-child(3),
.activity-top-downloads__table th:nth-child(4),
.activity-top-downloads__table td:nth-child(4),
.activity-top-downloads__table th:nth-child(5),
.activity-top-downloads__table td:nth-child(5) {
    width: 14%;
}
.activity-top-downloads__table th:nth-child(6),
.activity-top-downloads__table td:nth-child(6) {
    width: 20%;
}
.activity-top-downloads__table th:nth-child(7),
.activity-top-downloads__table td:nth-child(7) {
    width: 48px;
}
.activity-top-downloads__table th {
    padding: 7px 12px;
    border-bottom: 1px solid #e6eef6;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
.activity-top-downloads__table td {
    padding: 7px 12px;
    border-bottom: 1px solid #eef3f8;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
.activity-top-downloads__table tbody tr:last-child td {
    border-bottom: 0;
}
.activity-top-downloads__table tbody tr:hover {
    background: #f8fbff;
}
.activity-top-downloads__row {
    cursor: pointer;
}
.activity-top-downloads__row:focus {
    background: #f8fbff;
    outline: 2px solid rgba(27, 207, 201, 0.35);
    outline-offset: -2px;
}
.activity-top-downloads__rank {
    width: 40px;
    color: var(--p3-clr) !important;
    font-weight: 900;
    text-align: center;
}
.activity-top-downloads__title {
    width: 100%;
    display: block;
    color: #031740;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
    text-decoration: none;
}
.activity-top-downloads__title:hover,
.activity-top-downloads__title:focus {
    color: var(--p3-clr);
    text-decoration: underline;
    outline: none;
}
.activity-top-downloads__meta {
    color: #49577a !important;
    font-weight: 700;
}
.activity-top-downloads__action {
    width: 46px;
    text-align: center;
}
.activity-top-downloads__action a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--p3-clr);
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.activity-top-downloads__action a:hover,
.activity-top-downloads__action a:focus {
    background: var(--p1-clr);
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}
@media (max-width: 767.98px) {
    .search-filter-wrapper {
        padding: 18px;
    }
    .activity-filter-field {
        min-height: 78px;
    }
    .activity-top-downloads__header {
        padding: 12px 14px;
        align-items: flex-start;
        flex-direction: column;
    }
    .activity-top-downloads__table {
        min-width: 820px;
    }
}

.icc-modal-dialog {
    max-width: min(760px, calc(100vw - 32px));
}

.icc-modal {
    position: relative;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(3, 23, 64, 0.28);
}

.icc-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(3, 23, 64, 0.16);
    opacity: 1;
}

.icc-modal__content {
    padding: 48px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icc-modal__eyebrow {
    margin-bottom: 12px;
    color: var(--p3-clr, #002f87);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.icc-modal__title {
    margin: 0 0 18px;
    color: #031740;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.18;
}

.icc-modal__body {
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
    white-space: pre-line;
}

.icc-modal__button {
    align-self: flex-start;
    margin-top: 28px;
    min-width: 104px;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--p3-clr, #002f87);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.22s ease, transform 0.22s ease;
}

.icc-modal__button--secondary {
    background: #e2e8f0;
    color: #334155;
}

.icc-modal__button:hover,
.icc-modal__button:focus {
    background: var(--p1-clr, #1bcfc9);
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

.icc-modal__button--secondary:hover,
.icc-modal__button--secondary:focus {
    background: #cbd5e1;
    color: #0f172a;
}

@media (max-width: 767.98px) {
    .icc-modal__content {
        padding: 36px 24px 28px;
    }

    .icc-modal__title {
        font-size: 24px;
    }
}
