/* Geo Notifications Container & Subclasses */

.geo-notifications-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.geo-notifications-wrapper:empty {
    display: none;
}

/* Наследование базовых свойств .single-mess с добавлением субклассов и рамок */
.single-mess {
    position: relative;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* 1. Warning Subclass (Yellow) */
.single-mess.single-mess--warning {
    background-color: #FFF9E6;
    border-color: #FFC107;
}

.single-mess.single-mess--warning .single-mess__title {
    color: #855700;
}

/* 2. Error Subclass (Red) */
.single-mess.single-mess--error {
    background-color: #FDF2F2;
    border-color: #EF4444;
}

.single-mess.single-mess--error .single-mess__title {
    color: #991B1B;
}

/* 3. Success Subclass (Green) */
.single-mess.single-mess--success {
    background-color: #F0FDF4;
    border-color: #22C55E;
}

.single-mess.single-mess--success .single-mess__title {
    color: #166534;
}

/* Кнопка закрытия (Крестик) */
.single-mess__close {
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.single-mess__close:hover {
    color: rgba(0, 0, 0, 0.85);
    background-color: rgba(0, 0, 0, 0.05);
}

.single-mess__close svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* Стили контента из Gutenberg внутри описания */
.single-mess__desc p {
    margin: 0 0 8px;
    line-height: 1.5;
}

.single-mess__desc p:last-child {
    margin-bottom: 0;
}

.single-mess__desc a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.single-mess__desc a:hover {
    text-decoration: none;
}
