/* Modern Notification System */
.dogma-notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.dogma-notification {
    min-width: 320px;
    max-width: 450px;
    padding: 16px 20px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 4px solid #c8a85a;
    border-radius: 4px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.dogma-notification.active {
    transform: translateX(0);
}

.dogma-notification.error {
    border-left-color: #ff4b2b;
}

.dogma-notification.success {
    border-left-color: #c8a85a;
}

.dogma-notification-content {
    flex-grow: 1;
    margin-right: 15px;
}

.dogma-notification-close {
    cursor: pointer;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.dogma-notification-close:hover {
    color: #fff;
}

@keyframes progress-bar {
    from { width: 100%; }
    to { width: 0%; }
}

.dogma-notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(200, 168, 90, 0.5);
    width: 0;
}

.dogma-notification.error .dogma-notification-progress {
    background: rgba(255, 75, 43, 0.5);
}

/* In-form Message Styles */
.dogma-form-message {
    margin-bottom: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: none;
    width: fit-content;
    max-width: 100%;
    animation: fadeInDown 0.4s ease;
}

.dogma-form-message.success {
    display: inline-block;
    background: rgba(200, 168, 90, 0.1);
    border: 1px solid rgba(200, 168, 90, 0.3);
    color: #c8a85a;
}

.dogma-form-message.error {
    display: inline-block;
    background: rgba(255, 75, 43, 0.1);
    border: 1px solid rgba(255, 75, 43, 0.3);
    color: #ff4b2b;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
