/**
 * Notify System CSS
 * Styles für das Notification-System
 */

.notify-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.notify {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
    position: relative;
    min-width: 300px;
}

.notify.exiting {
    animation: slideOutRight 0.3s ease-in forwards;
}

.notify-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notify-icon svg {
    width: 100%;
    height: 100%;
}

.notify-content {
    flex: 1;
    min-width: 0;
}

.notify-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1a1d21;
}

.notify-message {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

.notify-close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notify-close:hover {
    opacity: 1;
}

.notify-close svg {
    width: 16px;
    height: 16px;
    color: #6c757d;
}

/* Success */
.notify.success {
    border-left: 4px solid #43b581;
}

.notify.success .notify-icon svg {
    color: #43b581;
}

.notify.success .notify-title {
    color: #43b581;
}

/* Error */
.notify.error {
    border-left: 4px solid #f04747;
}

.notify.error .notify-icon svg {
    color: #f04747;
}

.notify.error .notify-title {
    color: #f04747;
}

/* Warning */
.notify.warning {
    border-left: 4px solid #faa61a;
}

.notify.warning .notify-icon svg {
    color: #faa61a;
}

.notify.warning .notify-title {
    color: #faa61a;
}

/* Info */
.notify.info {
    border-left: 4px solid #5865f2;
}

.notify.info .notify-icon svg {
    color: #5865f2;
}

.notify.info .notify-title {
    color: #5865f2;
}

/* Dark Mode Support */
[data-bs-theme="dark"] .notify {
    background: #1a1d21;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .notify-title {
    color: #ffffff;
}

[data-bs-theme="dark"] .notify-message {
    color: #b9bbbe;
}

[data-bs-theme="dark"] .notify-close svg {
    color: #b9bbbe;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .notify-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notify {
        min-width: auto;
        width: 100%;
    }
}

