/*
==============================================================================
CONFIDENTIAL - NON-DISCLOSURE NOTICE
------------------------------------------------------------------------------
This file contains proprietary and confidential information belonging to
The University of Sydney and CEnet Limited. It is provided under the terms of
a Non-Disclosure Agreement (NDA) and/or Licence Agreement. Any unauthorized
copying, sharing, or distribution of this code or any part thereof is strictly
prohibited.

For the full details of your confidentiality obligations, please refer to
the NDA and/or Licence Agreement under which you have received this code.

(c) 2023-2026 The University of Sydney and CEnet Limited. All rights reserved.
==============================================================================
*/

@import url("_whats-new.css");

/* Landing-page announcement card (icon-only).
   Defaults follow Bootstrap 5 card spacing so the card sits comfortably
   between the Agent HQ tabs and the agent grid. */

.cogniti-landing-announcements {
    margin-top: 1rem;
}

.cogniti-announcement-card {
    border-left: 4px solid var(--bs-primary, #0078d4);
    background: var(--cogniti-color-bg-light-gray, #f9f9f9);
}

.cogniti-announcement-card .announcement-icon {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--bs-primary, #0078d4);
    flex: 0 0 auto;
    align-self: flex-start;
    padding-top: 0.15rem;
}

.cogniti-announcement-card .card-title {
    margin-bottom: 0.25rem;
}

.cogniti-announcement-card .announcement-body {
    color: var(--cogniti-color-info-text, #444545);
}

.cogniti-announcement-card .btn-close {
    flex: 0 0 auto;
}

/* Chat-hub specific: constrain the announcement band so it doesn't span the
   full viewport width on wide displays (matches the chat iframe's width). */
.hub-announcements {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
/*
 * Unified announcements styles.
 *
 * Fold-in wrapper for the landing-card and What's New announcement styles.
 */

.announcements-content {
    max-width: 60rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.announcements-feed > .cogniti-announcement-card:last-child {
    margin-bottom: 0 !important;
}
