/* Главный контейнер для оповещений */
.anc-notices-container {
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* Стили для отдельного оповещения */
.anc-notice-item {
    display: flex;
    align-items: flex-start;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 16px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    border: none;
}
.anc-notice-icon-wrapper {
    margin-right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    flex-shrink: 0;
}
.anc-notice-icon-wrapper .dashicons {
    color: #fff;
    font-size: 20px; width: 20px; height: 20px;
}
.anc-notice-content-wrapper { flex-grow: 1; }
.anc-notice-content-wrapper h4 {
    margin: 0 0 4px 0;
    font-size: 16px; font-weight: 600;
}
.anc-notice-content-wrapper p {
    margin: 0;
    font-size: 14px; line-height: 1.5;
    word-break: break-word;
}
.anc-notice-content-wrapper a { text-decoration: underline; font-weight: 500; }
.anc-notice-close {
    position: absolute; top: 12px; right: 12px;
    background: transparent; border: none;
    font-size: 20px; cursor: pointer;
    transition: opacity 0.2s;
    opacity: 0.7;
}
.anc-notice-close:hover { opacity: 1; }

/* Цветовые схемы */
/* 1. Важное (Красный) */
.anc-notice-important { background: linear-gradient(25deg,rgba(156, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(3, 0, 0, 0) 100%); }
.anc-notice-important .anc-notice-icon-wrapper { background-color: #F44336; }
.anc-notice-important .anc-notice-content-wrapper h4 { color: #C62828; }
.anc-notice-important .anc-notice-content-wrapper p,
.anc-notice-important .anc-notice-content-wrapper a { color: #424242; }
.anc-notice-important .anc-notice-close { color: #B71C1C; }

/* 2. Уведомление (Желтый) */
.anc-notice-notification { background: linear-gradient(25deg,rgba(80, 27, 130, 1) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(3, 0, 0, 0) 100%); }
.anc-notice-notification .anc-notice-icon-wrapper { background-color: #002f86; }
.anc-notice-notification .anc-notice-content-wrapper h4 { color: #E65100; }
.anc-notice-notification .anc-notice-content-wrapper p,
.anc-notice-notification .anc-notice-content-wrapper a { color: #424242; }
.anc-notice-notification .anc-notice-close { color: #BF360C; }

/* 3. Простое (Зеленый) */
.anc-notice-simple { background: linear-gradient(25deg,rgba(0, 156, 99, 1) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(3, 0, 0, 0) 100%); }
.anc-notice-simple .anc-notice-icon-wrapper { background-color: #4CAF50; }
.anc-notice-simple .anc-notice-content-wrapper h4 { color: #1B5E20; }
.anc-notice-simple .anc-notice-content-wrapper p,
.anc-notice-simple .anc-notice-content-wrapper a { color: #424242; }
.anc-notice-simple .anc-notice-close { color: #2E7D32; }

.anc-notice-important .anc-notice-content-wrapper h4 {
    color: #ffffff;
}
.anc-notice-important .anc-notice-content-wrapper p, .anc-notice-important .anc-notice-content-wrapper a {
    color: #ffffff;
}
.anc-notice-content-wrapper h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}
.anc-notice-notification .anc-notice-content-wrapper p, .anc-notice-notification .anc-notice-content-wrapper a {
    color: #ffffff;
}
.anc-notice-simple .anc-notice-content-wrapper h4 {
    color: #ffffff;
}
.anc-notice-simple .anc-notice-content-wrapper p, .anc-notice-simple .anc-notice-content-wrapper a {
    color: #ffffff;
}