/* NeoNotify - Modern Bildirim Sistemi */
.neo-notify-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.neo-notify {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: all;
    animation: neoSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.neo-notify::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.neo-notify.success::before { background: #10b981; }
.neo-notify.error::before { background: #ef4444; }
.neo-notify.warning::before { background: #f59e0b; }
.neo-notify.info::before { background: #3b82f6; }

.neo-notify-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.neo-notify.success .neo-notify-icon {
    background: #d1fae5;
    color: #10b981;
}

.neo-notify.error .neo-notify-icon {
    background: #fee2e2;
    color: #ef4444;
}

.neo-notify.warning .neo-notify-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.neo-notify.info .neo-notify-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.neo-notify-content {
    flex: 1;
}

.neo-notify-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

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

.neo-notify-close {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.2s;
    flex-shrink: 0;
}

.neo-notify-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.neo-notify-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    animation: neoProgress 3s linear;
}

.neo-notify.success .neo-notify-progress { color: #10b981; }
.neo-notify.error .neo-notify-progress { color: #ef4444; }
.neo-notify.warning .neo-notify-progress { color: #f59e0b; }
.neo-notify.info .neo-notify-progress { color: #3b82f6; }

@keyframes neoSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes neoSlideOut {
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes neoProgress {
    from { width: 100%; }
    to { width: 0%; }
}

.neo-notify.removing {
    animation: neoSlideOut 0.3s ease forwards;
}

@media (max-width: 480px) {
    .neo-notify-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .neo-notify {
        min-width: auto;
        max-width: none;
    }
}

/* Confirm Dialog */
.neo-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
}

.neo-confirm-dialog {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.neo-confirm-header {
    padding: 24px 24px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.neo-confirm-header i {
    font-size: 24px;
    color: #f59e0b;
}

.neo-confirm-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.neo-confirm-body {
    padding: 0 24px 24px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.neo-confirm-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.neo-btn-cancel, .neo-btn-confirm {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.neo-btn-cancel {
    background: #f3f4f6;
    color: #374151;
}

.neo-btn-cancel:hover {
    background: #e5e7eb;
}

.neo-btn-confirm {
    background: #ef4444;
    color: #fff;
}

.neo-btn-confirm:hover {
    background: #dc2626;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.neo-confirm-overlay.removing {
    animation: fadeOut 0.2s forwards;
}

.neo-confirm-overlay.removing .neo-confirm-dialog {
    animation: scaleOut 0.2s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

@keyframes scaleOut {
    to { transform: scale(0.9); opacity: 0; }
}
