/* DGA Design System notification host - LTR: left, RTL: right */
.dga-notification-host {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: auto;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    width: 300px;
}

[dir="rtl"] .dga-notification-host {
    left: auto;
    right: 1rem;
}

.dga-notification-host .dga-notification {
    pointer-events: auto;
}

.dga-notification {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left-width: 4px;
    border-left-style: solid;
    background: #fff;
    min-width: 18rem;
    max-width: 28rem;
}

.dga-notification__inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    padding-inline-end: 2.5rem;
    position: relative;
}

.dga-notification__icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.dga-notification__content {
    flex: 1;
    min-width: 0;
}

.dga-notification__title {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.35;
}

.dga-notification__description {
    font-size: 1rem;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.dga-notification__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    left: auto;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    color: #5d4037;
    opacity: 0.7;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .dga-notification__close {
    right: auto;
    left: 0.5rem;
}

.dga-notification__close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

/* LTR: thick left border, no tinted background */
.dga-notification--success {
    background: #fff;
    border-left-color: #019E87;
    color: #01574e;
}

.dga-notification--success .dga-notification__icon {
    color: #019E87;
}

.dga-notification--info {
    background: #fff;
    border-left-color: #1976d2;
    color: #0d47a1;
}

.dga-notification--info .dga-notification__icon {
    color: #1976d2;
}

.dga-notification--warning {
    background: #fff;
    border-left-color: #f9a825;
    color: #5d4037;
}

.dga-notification--warning .dga-notification__icon {
    color: #f9a825;
}

.dga-notification--error {
    background: #fff;
    border-left-color: #c62828;
    color: #b71c1c;
}

.dga-notification--error .dga-notification__icon {
    color: #c62828;
}

/* RTL: thick right border, no left accent */
[dir="rtl"] .dga-notification {
    border-left-width: 1px;
    border-left-color: rgba(0, 0, 0, 0.08);
    border-right-width: 4px;
    border-right-style: solid;
}

[dir="rtl"] .dga-notification--success {
    border-right-color: #019E87;
}

[dir="rtl"] .dga-notification--info {
    border-right-color: #1976d2;
}

[dir="rtl"] .dga-notification--warning {
    border-right-color: #f9a825;
}

[dir="rtl"] .dga-notification--error {
    border-right-color: #c62828;
}
